//***************************************************************************
[TriggerCategories]
// Defines categories for organizing trigger functions
// Key: Arbitrary category identifier
// Value 0: Display text
// Value 1: Icon image file
// Value 2: Optional flag (defaults to 0) indicating to disable display of category name
//

TC_ARITHMETIC=WESTRING_TRIGCAT_ARITHMETIC,ReplaceableTextures\WorldEditUI\Actions-AI,1
TC_NOTHING=WESTRING_TRIGCAT_NOTHING,ReplaceableTextures\WorldEditUI\Actions-Nothing,1
TC_COMMENT=WESTRING_TRIGCAT_COMMENT,ReplaceableTextures\WorldEditUI\Actions-Comment,1
TC_CONDITION=WESTRING_TRIGCAT_CONDITION,ReplaceableTextures\WorldEditUI\Actions-Logical,1
TC_WAIT=WESTRING_TRIGCAT_WAIT,ReplaceableTextures\WorldEditUI\Actions-Wait,1
TC_SETVARIABLE=WESTRING_TRIGCAT_SETVARIABLE,ReplaceableTextures\WorldEditUI\Actions-SetVariables,1
TC_SKIPACTIONS=WESTRING_TRIGCAT_SKIPACTIONS,ReplaceableTextures\WorldEditUI\Actions-Nothing,1
TC_LOGIC=WESTRING_TRIGCAT_LOGIC,ReplaceableTextures\WorldEditUI\Actions-Logical,1
TC_FORLOOP=WESTRING_TRIGCAT_FORLOOP,ReplaceableTextures\WorldEditUI\Actions-Logical,1
TC_LAST=WESTRING_TRIGCAT_LAST,ReplaceableTextures\WorldEditUI\Actions-SetVariables,1
TC_AI=WESTRING_TRIGCAT_AI,ReplaceableTextures\WorldEditUI\Actions-AI
TC_ANIMATION=WESTRING_TRIGCAT_ANIMATION,ReplaceableTextures\WorldEditUI\Actions-Animation
TC_CAMERA=WESTRING_TRIGCAT_CAMERA,ReplaceableTextures\WorldEditUI\Actions-Camera
TC_CINEMATIC=WESTRING_TRIGCAT_CINEMATIC,ReplaceableTextures\WorldEditUI\Actions-Camera
TC_CONVERSION=WESTRING_TRIGCAT_CONVERSION,ReplaceableTextures\WorldEditUI\Actions-AI
TC_COUNTDOWNTIMER=WESTRING_TRIGCAT_COUNTDOWNTIMER,ReplaceableTextures\WorldEditUI\Events-Time
TC_TIMER=WESTRING_TRIGCAT_TIMER,ReplaceableTextures\WorldEditUI\Events-Time
TC_DESTRUCT=WESTRING_TRIGCAT_DESTRUCT,ReplaceableTextures\WorldEditUI\Actions-Destructibles
TC_DIALOG=WESTRING_TRIGCAT_DIALOG,ReplaceableTextures\WorldEditUI\Actions-Dialog
TC_ENVIRONMENT=WESTRING_TRIGCAT_ENVIRONMENT,ReplaceableTextures\WorldEditUI\Actions-Environment
TC_EVENTRESPONSE=WESTRING_TRIGCAT_EVENTRESPONSE,ReplaceableTextures\WorldEditUI\Actions-Nothing
TC_GAME=WESTRING_TRIGCAT_GAME,ReplaceableTextures\WorldEditUI\Actions-Game
TC_GAMECACHE=WESTRING_TRIGCAT_GAMECACHE,ReplaceableTextures\WorldEditUI\Actions-SetVariables
TC_HERO=WESTRING_TRIGCAT_HERO,ReplaceableTextures\WorldEditUI\Actions-Hero
TC_ITEM=WESTRING_TRIGCAT_ITEM,ReplaceableTextures\WorldEditUI\Actions-Item
TC_LEADERBOARD=WESTRING_TRIGCAT_LEADERBOARD,ReplaceableTextures\WorldEditUI\Actions-Quest
TC_MATH=WESTRING_TRIGCAT_MATH,ReplaceableTextures\WorldEditUI\Actions-Logical
TC_MELEE=WESTRING_TRIGCAT_MELEE,ReplaceableTextures\WorldEditUI\Actions-Melee
TC_NEUTRALBUILDING=WESTRING_TRIGCAT_NEUTRALBUILDING,ReplaceableTextures\WorldEditUI\Actions-Goldmine
TC_PLAYER=WESTRING_TRIGCAT_PLAYER,ReplaceableTextures\WorldEditUI\Actions-Player
TC_PLAYERGROUP=WESTRING_TRIGCAT_PLAYERGROUP,ReplaceableTextures\WorldEditUI\Actions-PlayerGroup
TC_QUEST=WESTRING_TRIGCAT_QUEST,ReplaceableTextures\WorldEditUI\Actions-Quest
TC_REGION=WESTRING_TRIGCAT_REGION,ReplaceableTextures\WorldEditUI\Actions-Region
TC_SOUND=WESTRING_TRIGCAT_SOUND,ReplaceableTextures\WorldEditUI\Actions-Sound
TC_SPECIALEFFECT=WESTRING_TRIGCAT_SPECIALEFFECT,ReplaceableTextures\WorldEditUI\Actions-Animation
TC_TIME=WESTRING_TRIGCAT_TIME,ReplaceableTextures\WorldEditUI\Events-Time
TC_TRIGGER=WESTRING_TRIGCAT_TRIGGER,ReplaceableTextures\WorldEditUI\Actions-Nothing
TC_UNIT=WESTRING_TRIGCAT_UNIT,ReplaceableTextures\WorldEditUI\Actions-Unit
TC_UNITSEL=WESTRING_TRIGCAT_UNITSEL,ReplaceableTextures\WorldEditUI\Actions-UnitSelection
TC_UNITGROUP=WESTRING_TRIGCAT_UNITGROUP,ReplaceableTextures\WorldEditUI\Actions-UnitGroup
TC_VISIBILITY=WESTRING_TRIGCAT_VISIBILITY,ReplaceableTextures\WorldEditUI\Actions-Visibility
TC_OBSOLETE=WESTRING_TRIGCAT_OBSOLETE,ReplaceableTextures\WorldEditUI\Editor-TriggerFunction
TC_DEBUG=WESTRING_TRIGCAT_DEBUG,ReplaceableTextures\WorldEditUI\Editor-TriggerFunction



//***************************************************************************
[TriggerTypes]
// Defines all trigger variable types to be used by the Script Editor
// Key: type name
// Value 0: flag (0 or 1) indicating if this type can be a global variable
// Value 1: flag (0 or 1) indicating if this type can be used with comparison operators
// Value 2: string to display in the editor
// Value 3: base type, used only for custom types

// Trigger Variable Types
// These are sorted so that they appear as such in the Variables dialog.
abilcode=1,1,WESTRING_TRIGTYPE_abilcode,integer
boolean=1,1,WESTRING_TRIGTYPE_boolean
camerasetup=1,0,WESTRING_TRIGTYPE_camerasetup
destructable=1,1,WESTRING_TRIGTYPE_destructable
destructablecode=1,1,WESTRING_TRIGTYPE_destructablecode,integer
defeatcondition=1,0,WESTRING_TRIGTYPE_defeatcondition
dialog=1,0,WESTRING_TRIGTYPE_dialog
button=1,0,WESTRING_TRIGTYPE_button
gamecache=1,0,WESTRING_TRIGTYPE_gamecache
gamespeed=1,1,WESTRING_TRIGTYPE_gamespeed
integer=1,1,WESTRING_TRIGTYPE_integer
item=1,1,WESTRING_TRIGTYPE_item
itemcode=1,1,WESTRING_TRIGTYPE_itemcode,integer
leaderboard=1,0,WESTRING_TRIGTYPE_leaderboard
ordercode=1,1,WESTRING_TRIGTYPE_ordercode,integer
player=1,1,WESTRING_TRIGTYPE_player
playercolor=1,1,WESTRING_TRIGTYPE_playercolor
force=1,0,WESTRING_TRIGTYPE_force
location=1,1,WESTRING_TRIGTYPE_location
quest=1,0,WESTRING_TRIGTYPE_quest
questitem=1,0,WESTRING_TRIGTYPE_questitem
race=1,1,WESTRING_TRIGTYPE_race
real=1,1,WESTRING_TRIGTYPE_real
rect=1,1,WESTRING_TRIGTYPE_rect
sound=1,0,WESTRING_TRIGTYPE_sound
effect=1,0,WESTRING_TRIGTYPE_effect
string=1,1,WESTRING_TRIGTYPE_string
techcode=1,1,WESTRING_TRIGTYPE_techcode,integer
timer=1,0,WESTRING_TRIGTYPE_timer
timerdialog=1,0,WESTRING_TRIGTYPE_timerdialog
trigger=1,1,WESTRING_TRIGTYPE_trigger
unit=1,1,WESTRING_TRIGTYPE_unit
group=1,0,WESTRING_TRIGTYPE_group
unitcode=1,1,WESTRING_TRIGTYPE_unitcode,integer
fogmodifier=1,0,WESTRING_TRIGTYPE_fogmodifier
weathereffect=1,0,WESTRING_TRIGTYPE_weathereffect

// Trigger Non-Variable Types - Atomic (built-in to the language)
code=0,0,WESTRING_TRIGTYPE_code

// Trigger Non-Variable Types - Basic (from common.j)
event=0,0,WESTRING_TRIGTYPE_event
triggercondition=0,0,WESTRING_TRIGTYPE_triggercondition
triggeraction=0,0,WESTRING_TRIGTYPE_triggeraction
boolexpr=0,0,WESTRING_TRIGTYPE_boolexpr
unittype=0,0,WESTRING_TRIGTYPE_unittype
alliancetype=0,0,WESTRING_TRIGTYPE_alliancetype
playerstate=0,0,WESTRING_TRIGTYPE_playerstate
playergameresult=0,0,WESTRING_TRIGTYPE_playergameresult
unitstate=0,0,WESTRING_TRIGTYPE_unitstate
playerunitevent=0,0,WESTRING_TRIGTYPE_playerunitevent
unitevent=0,0,WESTRING_TRIGTYPE_unitevent
limitop=0,0,WESTRING_TRIGTYPE_limitop
gamedifficulty=0,1,WESTRING_TRIGTYPE_gamedifficulty
mapdensity=0,1,WESTRING_TRIGTYPE_mapdensity
mapcontrol=0,1,WESTRING_TRIGTYPE_mapcontrol
mapflag=0,0,WESTRING_TRIGTYPE_mapflag
playerslotstate=0,1,WESTRING_TRIGTYPE_playerslotstate
camerafield=0,0,WESTRING_TRIGTYPE_camerafield
raritycontrol=0,0,WESTRING_TRIGTYPE_raritycontrol
blendmode=0,0,WESTRING_TRIGTYPE_blendmode
fogstate=0,0,WESTRING_TRIGTYPE_fogstate
volumegroup=0,0,WESTRING_TRIGTYPE_volumegroup

// Trigger Non-Variable Types - Utility, only used to simplify triggers
unitstaterw=0,0,WESTRING_TRIGTYPE_unitstaterw,unitstate
colorchangeoption=0,0,WESTRING_TRIGTYPE_colorchangeoption,boolean
playerchangecoloroption=0,0,WESTRING_TRIGTYPE_playerchangecoloroption,boolean
chatmatchtype=0,0,WESTRING_TRIGTYPE_chatmatchtype,boolean
unitfacingbone=0,0,WESTRING_TRIGTYPE_unitfacingbone,string
includeoption=0,0,WESTRING_TRIGTYPE_inclusionoption,boolean
cameraapplyoption=0,0,WESTRING_TRIGTYPE_cameraapplyoption,boolean
cameraorientationoption=0,0,WESTRING_TRIGTYPE_cameraorientationoption,boolean
invulnerableoption=0,0,WESTRING_TRIGTYPE_invulnerableoption,boolean
availabilityoption=0,0,WESTRING_TRIGTYPE_availabilityoption,boolean
showhideoption=0,0,WESTRING_TRIGTYPE_showhideoption,boolean
skymodelstring=0,0,WESTRING_TRIGTYPE_skymodelstring,string
cinefiltertexture=0,0,WESTRING_TRIGTYPE_cinefiltertexture,string
pathingoption=0,0,WESTRING_TRIGTYPE_pathingoption,boolean
dropnodropoption=0,0,WESTRING_TRIGTYPE_dropnodropoption,boolean
droppableoption=0,0,WESTRING_TRIGTYPE_droppableoption,boolean
beforeafteroption=0,0,WESTRING_TRIGTYPE_beforeafteroption,boolean
onoffoption=0,0,WESTRING_TRIGTYPE_onoffoption,boolean
enabledisableoption=0,0,WESTRING_TRIGTYPE_enabledisableoption,boolean
enableddisabledoption=0,0,WESTRING_TRIGTYPE_enableddisabledoption,boolean
rescuableoption=0,0,WESTRING_TRIGTYPE_rescuableoption,boolean
allowdontoption=0,0,WESTRING_TRIGTYPE_allowdontoption,boolean
fadedontoption=0,0,WESTRING_TRIGTYPE_fadedontoption,boolean
unitorderutarg=0,0,WESTRING_TRIGTYPE_unitorderutarg,string
unitorderptarg=0,0,WESTRING_TRIGTYPE_unitorderptarg,string
unitorderdtarg=0,0,WESTRING_TRIGTYPE_unitorderdtarg,string
unitordernotarg=0,0,WESTRING_TRIGTYPE_unitordernotarg,string
heroskillcode=0,0,WESTRING_TRIGTYPE_heroskillcode,integer
weathereffectcode=0,0,WESTRING_TRIGTYPE_weathereffectcode,integer
alliancesetting=0,0,WESTRING_TRIGTYPE_alliancesetting,integer
addsettooption=0,0,WESTRING_TRIGTYPE_addsettooption,integer
waitdontoption=0,0,WESTRING_TRIGTYPE_waitdontoption,boolean
createremoveoption=0,0,WESTRING_TRIGTYPE_createremoveoption,boolean
addremoveoption=0,0,WESTRING_TRIGTYPE_addremoveoption,boolean
questtypeoption=0,0,WESTRING_TRIGTYPE_questtypeoption,integer
questmessagetype=0,0,WESTRING_TRIGTYPE_questmessagetype,integer
completionoption=0,0,WESTRING_TRIGTYPE_completionoption,boolean
failureoption=0,0,WESTRING_TRIGTYPE_failureoption,boolean
discoveredoption=0,0,WESTRING_TRIGTYPE_discoveredoption,boolean
pauseresumeoption=0,0,WESTRING_TRIGTYPE_pauseresumeoption,boolean
periodicoption=0,0,WESTRING_TRIGTYPE_periodicoption,boolean
leaderboardsortoption=0,0,WESTRING_TRIGTYPE_leaderboardsortoption,integer
ascendingoption=0,0,WESTRING_TRIGTYPE_ascendingoption,boolean
sleepwakeoption=0,0,WESTRING_TRIGTYPE_sleepwakeoption,boolean
pauseunpauseoption=0,0,WESTRING_TRIGTYPE_pauseunpauseoption,boolean
sharedontoption=0,0,WESTRING_TRIGTYPE_sharedontoption,boolean
fadetypeoption=0,0,WESTRING_TRIGTYPE_fadetypeoption,boolean
bufftype=0,0,WESTRING_TRIGTYPE_bufftype,integer
cameraboundsadjusttype=0,0,WESTRING_TRIGTYPE_cameraboundsadjusttype,integer
availableoption=0,0,WESTRING_TRIGTYPE_availableoption,boolean
explodedontoption=0,0,WESTRING_TRIGTYPE_explodedontoption,boolean
suspendresumeoption=0,0,WESTRING_TRIGTYPE_suspendresumeoption,boolean
missionindex=0,0,WESTRING_TRIGTYPE_missionindex,integer
campaignindex=0,0,WESTRING_TRIGTYPE_campaignindex,integer
cinematicindex=0,0,WESTRING_TRIGTYPE_cinematicindex,integer
musictheme=0,0,WESTRING_TRIGTYPE_musictheme,string
ambientthemeday=0,0,WESTRING_TRIGTYPE_ambientthemeday,string
ambientthemenight=0,0,WESTRING_TRIGTYPE_ambientthemenight,string
unitstatemethod=0,0,WESTRING_TRIGTYPE_unitstatemethod,string
checkingignoringoption=0,0,WESTRING_TRIGTYPE_checkingignoringoption,string
playerflag=0,0,WESTRING_TRIGTYPE_playerflag,playerstate
gateoperation=0,0,WESTRING_TRIGTYPE_gateoperation,integer
useskipoption=0,0,WESTRING_TRIGTYPE_useskipoption,boolean
seldeseloption=0,0,WESTRING_TRIGTYPE_seldeseloption,boolean

// Trigger Non-Variable Types - Custom (handled internally by the editor)
StringExt=0,0,WESTRING_TRIGTYPE_StringExt,string
AnyGlobal=0,0,WESTRING_TRIGTYPE_AnyGlobal
AnyType=0,0,WESTRING_TRIGTYPE_AnyType
VarAsString_Real=0,0,WESTRING_TRIGTYPE_VarAsString_Real
ArithmeticOperator=0,0,WESTRING_TRIGTYPE_ArithmeticOperator
ComparisonOperator=0,0,WESTRING_TRIGTYPE_ComparisonOperator
EqualNotEqualOperator=0,0,WESTRING_TRIGTYPE_EqualNotEqualOperator
boolcall=0,0,WESTRING_TRIGTYPE_boolcall
doodadcode=0,0,WESTRING_TRIGTYPE_doodadcode,integer
musicfile=0,0,WESTRING_TRIGTYPE_musicfile,string



//***************************************************************************
[TriggerTypeDefaults]
// Defines an optional default value for a trigger type used as a global variable
// Key: variable type
// Value 0: script text
//
// If a type does not have an entry here, it will be set to null if it is a handle
//

boolean=false
integer=0
real=0
group=CreateGroup()
force=CreateForce()
timer=CreateTimer()
dialog=DialogCreate()



//***************************************************************************
[TriggerParams]
// Defines possible values for variable types
// Key: arbitrary text
// Value 0: variable type
// Value 1: code text (used in script)
// Value 2: display text
//
// Note: If the code text is a literal string, surround it with backward single quotes (`),
//       and they will be converted to double quotes in the script.
//

// Operators
OperatorAdd=ArithmeticOperator,"+",WESTRING_ARITHMETICOPERATOR_ADD
OperatorSubtract=ArithmeticOperator,"-",WESTRING_ARITHMETICOPERATOR_SUBTRACT
OperatorMultiply=ArithmeticOperator,"*",WESTRING_ARITHMETICOPERATOR_MULTIPLY
OperatorDivide=ArithmeticOperator,"/",WESTRING_ARITHMETICOPERATOR_DIVIDE

OperatorEqual=ComparisonOperator,"==",WESTRING_COMPARISONOPERATOR_EQUAL
OperatorNotEqual=ComparisonOperator,"!=",WESTRING_COMPARISONOPERATOR_NOTEQUAL
OperatorGreater=ComparisonOperator,">",WESTRING_COMPARISONOPERATOR_GREATER
OperatorGreaterEq=ComparisonOperator,">=",WESTRING_COMPARISONOPERATOR_GREATEREQ
OperatorLess=ComparisonOperator,"<",WESTRING_COMPARISONOPERATOR_LESS
OperatorLessEq=ComparisonOperator,"<=",WESTRING_COMPARISONOPERATOR_LESSEQ

OperatorEqualENE=EqualNotEqualOperator,"==",WESTRING_EQUALNOTEQUALOPERATOR_EQUAL
OperatorNotEqualENE=EqualNotEqualOperator,"!=",WESTRING_EQUALNOTEQUALOPERATOR_NOTEQUAL

// Reals
RealQueueDelayQuest=real,bj_QUEUE_DELAY_QUEST,WESTRING_QUEUE_DELAY_QUEST
RealQueueDelayHint=real,bj_QUEUE_DELAY_HINT,WESTRING_QUEUE_DELAY_HINT
RealQueueDelaySecret=real,bj_QUEUE_DELAY_SECRET,WESTRING_QUEUE_DELAY_SECRET
RealHandicapEasy=real,bj_HANDICAP_EASY,WESTRING_HANDICAP_EASY
RealCellWidth=real,bj_CELLWIDTH,WESTRING_REAL_CELLWIDTH
RealUnitFacing=real,bj_UNIT_FACING,WESTRING_REAL_UNITFACING
RealCamDefDistance=real,bj_CAMERA_DEFAULT_DISTANCE,WESTRING_CAMDEFAULT_DISTANCE
RealCamDefFarZ=real,bj_CAMERA_DEFAULT_FARZ,WESTRING_CAMDEFAULT_FARZ
RealCamDefAoA=real,bj_CAMERA_DEFAULT_AOA,WESTRING_CAMDEFAULT_AOA
RealCamDefFoV=real,bj_CAMERA_DEFAULT_FOV,WESTRING_CAMDEFAULT_FOV
RealCamDefRoll=real,bj_CAMERA_DEFAULT_ROLL,WESTRING_CAMDEFAULT_ROLL
RealCamDefRotation=real,bj_CAMERA_DEFAULT_ROTATION,WESTRING_CAMDEFAULT_ROTATION
RealE=real,bj_E,WESTRING_REAL_E
RealPi=real,bj_PI,WESTRING_REAL_PI

// Players
Player00=player,Player(0),WESTRING_PLAYER_00
Player01=player,Player(1),WESTRING_PLAYER_01
Player02=player,Player(2),WESTRING_PLAYER_02
Player03=player,Player(3),WESTRING_PLAYER_03
Player04=player,Player(4),WESTRING_PLAYER_04
Player05=player,Player(5),WESTRING_PLAYER_05
Player06=player,Player(6),WESTRING_PLAYER_06
Player07=player,Player(7),WESTRING_PLAYER_07
Player08=player,Player(8),WESTRING_PLAYER_08
Player09=player,Player(9),WESTRING_PLAYER_09
Player10=player,Player(10),WESTRING_PLAYER_10
Player11=player,Player(11),WESTRING_PLAYER_11
PlayerNA=player,Player(PLAYER_NEUTRAL_AGGRESSIVE),WESTRING_PLAYER_NA
PlayerNP=player,Player(PLAYER_NEUTRAL_PASSIVE),WESTRING_PLAYER_NP
PlayerNV=player,Player(bj_PLAYER_NEUTRAL_VICTIM),WESTRING_PLAYER_NV

// Forces
Force00=force,bj_FORCE_PLAYER[0],WESTRING_FORCE_00
Force01=force,bj_FORCE_PLAYER[1],WESTRING_FORCE_01
Force02=force,bj_FORCE_PLAYER[2],WESTRING_FORCE_02
Force03=force,bj_FORCE_PLAYER[3],WESTRING_FORCE_03
Force04=force,bj_FORCE_PLAYER[4],WESTRING_FORCE_04
Force05=force,bj_FORCE_PLAYER[5],WESTRING_FORCE_05
Force06=force,bj_FORCE_PLAYER[6],WESTRING_FORCE_06
Force07=force,bj_FORCE_PLAYER[7],WESTRING_FORCE_07
Force08=force,bj_FORCE_PLAYER[8],WESTRING_FORCE_08
Force09=force,bj_FORCE_PLAYER[9],WESTRING_FORCE_09
Force10=force,bj_FORCE_PLAYER[10],WESTRING_FORCE_10
Force11=force,bj_FORCE_PLAYER[10],WESTRING_FORCE_11
ForceNA=force,bj_FORCE_PLAYER[PLAYER_NEUTRAL_AGGRESSIVE],WESTRING_FORCE_NA
ForceNP=force,bj_FORCE_PLAYER[PLAYER_NEUTRAL_PASSIVE],WESTRING_FORCE_NP
ForceNV=force,bj_FORCE_PLAYER[bj_PLAYER_NEUTRAL_VICTIM],WESTRING_FORCE_NV

// Player colors
Color00=playercolor,PLAYER_COLOR_RED,WESTRING_UNITCOLOR_00
Color01=playercolor,PLAYER_COLOR_BLUE,WESTRING_UNITCOLOR_01
Color02=playercolor,PLAYER_COLOR_CYAN,WESTRING_UNITCOLOR_02
Color03=playercolor,PLAYER_COLOR_PURPLE,WESTRING_UNITCOLOR_03
Color04=playercolor,PLAYER_COLOR_YELLOW,WESTRING_UNITCOLOR_04
Color05=playercolor,PLAYER_COLOR_ORANGE,WESTRING_UNITCOLOR_05
Color06=playercolor,PLAYER_COLOR_GREEN,WESTRING_UNITCOLOR_06
Color07=playercolor,PLAYER_COLOR_PINK,WESTRING_UNITCOLOR_07
Color08=playercolor,PLAYER_COLOR_LIGHT_GRAY,WESTRING_UNITCOLOR_08
Color09=playercolor,PLAYER_COLOR_LIGHT_BLUE,WESTRING_UNITCOLOR_09
Color10=playercolor,PLAYER_COLOR_AQUA,WESTRING_UNITCOLOR_10
Color11=playercolor,PLAYER_COLOR_BROWN,WESTRING_UNITCOLOR_11

// Races
RaceHuman=race,RACE_HUMAN,WESTRING_TRIGRACE_HUMAN
RaceOrc=race,RACE_ORC,WESTRING_TRIGRACE_ORC
RaceUndead=race,RACE_UNDEAD,WESTRING_TRIGRACE_UNDEAD
RaceNightElf=race,RACE_NIGHTELF,WESTRING_TRIGRACE_NIGHTELF
RaceDemon=race,RACE_DEMON,WESTRING_TRIGRACE_DEMON

// Units
UnitNull=unit,null,WESTRING_TRIGUNIT_NULL

// Unit-Types
UnitTypeNull=unitcode,0,WESTRING_TRIGUNITTYPE_NULL

// Items
ItemNull=item,null,WESTRING_TRIGITEM_NULL

// Destructables
DestructableNull=destructable,null,WESTRING_TRIGDESTRUCTABLE_NULL

// Rects
RectNull=rect,null,WESTRING_TRIGRECT_NULL

// Sounds
SoundNull=sound,null,WESTRING_TRIGSOUND_NULL

// Music
MusicFileMusic=musicfile,`music`,WESTRING_TRIGMUSICFILE_MUSIC

// Limit operators
LimitOpEqual=limitop,EQUAL,WESTRING_LIMITOP_EQUAL
LimitOpNotEqual=limitop,NOT_EQUAL,WESTRING_LIMITOP_NOTEQUAL
LimitOpLessThan=limitop,LESS_THAN,WESTRING_LIMITOP_LESSTHAN
LimitOpLessThanOrEqual=limitop,LESS_THAN_OR_EQUAL,WESTRING_LIMITOP_LESSTHANOREQUAL
LimitOpGreaterThan=limitop,GREATER_THAN,WESTRING_LIMITOP_GREATERTHAN
LimitOpGreaterThanOrEqual=limitop,GREATER_THAN_OR_EQUAL,WESTRING_LIMITOP_GREATERTHANOREQUAL

// Game results
GameResultWin=playergameresult,PLAYER_GAME_RESULT_VICTORY,WESTRING_VICTORY
GameResultLose=playergameresult,PLAYER_GAME_RESULT_DEFEAT,WESTRING_DEFEAT
GameResultDraw=playergameresult,PLAYER_GAME_RESULT_TIE,WESTRING_DRAW

// Map flags
MapFlagUseHandicaps=mapflag,MAP_USE_HANDICAPS,WESTRING_MAPFLAG_USEHANDICAPS
MapFlagObservers=mapflag,MAP_OBSERVERS,WESTRING_MAPFLAG_OBSERVERS
MapFlagObserversChat=mapflag,MAP_OBSERVERS_CHAT,WESTRING_MAPFLAG_OBSERVERSCHAT
MapFlagResourceTradingLock=mapflag,MAP_LOCK_RESOURCE_TRADING,WESTRING_MAPFLAG_RESOURCETRADINGLOCK
MapFlagResourceTradingAllies=mapflag,MAP_RESOURCE_TRADING_ALLIES_ONLY,WESTRING_MAPFLAG_RESOURCETRADINGALLIES
MapFlagAllianceChangesLock=mapflag,MAP_LOCK_ALLIANCE_CHANGES,WESTRING_MAPFLAG_ALLIANCECHANGESLOCK
MapFlagAllianceChangesHidden=mapflag,MAP_ALLIANCE_CHANGES_HIDDEN,WESTRING_MAPFLAG_ALLIANCECHANGESHIDDEN

// Player states
PlayerStateGold=playerstate,PLAYER_STATE_RESOURCE_GOLD,WESTRING_PSTATE_GOLD
PlayerStateLumber=playerstate,PLAYER_STATE_RESOURCE_LUMBER,WESTRING_PSTATE_LUMBER
PlayerStateHeroTokens=playerstate,PLAYER_STATE_RESOURCE_HERO_TOKENS,WESTRING_PSTATE_HEROTOKENS
PlayerStateGoldUpkeepRate=playerstate,PLAYER_STATE_GOLD_UPKEEP_RATE,WESTRING_PSTATE_UPKEEPGOLD
PlayerStateLumberUpkeepRate=playerstate,PLAYER_STATE_LUMBER_UPKEEP_RATE,WESTRING_PSTATE_UPKEEPLUMBER
PlayerStateGoldGathered=playerstate,PLAYER_STATE_GOLD_GATHERED,WESTRING_PSTATE_GOLDGATHERED
PlayerStateLumberGathered=playerstate,PLAYER_STATE_LUMBER_GATHERED,WESTRING_PSTATE_LUMBER_GATHERED
PlayerStateFoodUsed=playerstate,PLAYER_STATE_RESOURCE_FOOD_USED,WESTRING_PSTATE_FOODUSED
PlayerStateFoodCap=playerstate,PLAYER_STATE_RESOURCE_FOOD_CAP,WESTRING_PSTATE_FOODCAP
PlayerStateFoodLimit=playerstate,PLAYER_STATE_FOOD_CAP_CEILING,WESTRING_PSTATE_FOODCAPLIMIT
PlayerStateGameResult=playerstate,PLAYER_STATE_GAME_RESULT,WESTRING_PSTATE_GAMERESULT

// Player flags
PlayerFlagUnfollowable=playerflag,PLAYER_STATE_UNFOLLOWABLE,WESTRING_PFLAG_UNFOLLOWABLE
PlayerFlagGivesBounty=playerflag,PLAYER_STATE_GIVES_BOUNTY,WESTRING_PFLAG_GIVESBOUNTY
PlayerFlagAlliedVictory=playerflag,PLAYER_STATE_ALLIED_VICTORY,WESTRING_PFLAG_ALLIEDVICTORY

// Gate states
GateOperationClosed=gateoperation,bj_GATEOPERATION_CLOSE,WESTRING_GATEOPERATION_CLOSE
GateOperationOpen=gateoperation,bj_GATEOPERATION_OPEN,WESTRING_GATEOPERATION_OPEN
GateOperationDestroyed=gateoperation,bj_GATEOPERATION_DESTROY,WESTRING_GATEOPERATION_DESTROY

// Usage options
UseSkipOptionUse=useskipoption,true,WESTRING_USESKIPOPTION_USE
UseSkipOptionSkip=useskipoption,false,WESTRING_USESKIPOPTION_SKIP

// Selection option
SelDeselOptionSel=seldeseloption,true,WESTRING_SELDESELOPTION_SEL
SelDeselOptionDesel=seldeseloption,false,WESTRING_SELDESELOPTION_DESEL

// Map Control
MapControlNone=mapcontrol,MAP_CONTROL_NONE,WESTRING_MAPCONTROL_NONE
MapControlUser=mapcontrol,MAP_CONTROL_USER,WESTRING_MAPCONTROL_USER
MapControlComputer=mapcontrol,MAP_CONTROL_COMPUTER,WESTRING_MAPCONTROL_COMPUTER
MapControlRescuable=mapcontrol,MAP_CONTROL_RESCUABLE,WESTRING_MAPCONTROL_RESCUABLE
MapControlNeutral=mapcontrol,MAP_CONTROL_NEUTRAL,WESTRING_MAPCONTROL_NEUTRAL
MapControlCreep=mapcontrol,MAP_CONTROL_CREEP,WESTRING_MAPCONTROL_CREEP

// Player slot states
PlayerSlotStateEmpty=playerslotstate,PLAYER_SLOT_STATE_EMPTY,WESTRING_PSLOT_EMPTY
PlayerSlotStatePlaying=playerslotstate,PLAYER_SLOT_STATE_PLAYING,WESTRING_PSLOT_PLAYING
PlayerSlotStateLeft=playerslotstate,PLAYER_SLOT_STATE_LEFT,WESTRING_PSLOT_LEFT

// Player unit events
PlayerUnitEventDeath=playerunitevent,EVENT_PLAYER_UNIT_DEATH,WESTRING_PUEVENT_DEATH
PlayerUnitEventDecay=playerunitevent,EVENT_PLAYER_UNIT_DECAY,WESTRING_PUEVENT_DECAY
PlayerUnitEventHero_Level=playerunitevent,EVENT_PLAYER_HERO_LEVEL,WESTRING_PUEVENT_HEROLEVEL
PlayerUnitEventHero_Skill=playerunitevent,EVENT_PLAYER_HERO_SKILL,WESTRING_PUEVENT_HEROSKILL
PlayerUnitEventHero_Revivable=playerunitevent,EVENT_PLAYER_HERO_REVIVABLE,WESTRING_PUEVENT_HEROREVIVABLE
PlayerUnitEventHeroUseItem=playerunitevent,EVENT_PLAYER_UNIT_USE_ITEM,WESTRING_PUEVENT_HEROUSEITEM
PlayerUnitEventHeroPickUpItem=playerunitevent,EVENT_PLAYER_UNIT_PICKUP_ITEM,WESTRING_PUEVENT_HEROPICKUPITEM
PlayerUnitEventHeroDropItem=playerunitevent,EVENT_PLAYER_UNIT_DROP_ITEM,WESTRING_PUEVENT_HERODROPITEM
PlayerUnitEventAttacked=playerunitevent,EVENT_PLAYER_UNIT_ATTACKED,WESTRING_PUEVENT_ATTACKED
PlayerUnitEventRescued=playerunitevent,EVENT_PLAYER_UNIT_RESCUED,WESTRING_PUEVENT_RESCUED
PlayerUnitEventSummoned=playerunitevent,EVENT_PLAYER_UNIT_SUMMON,WESTRING_PUEVENT_SUMMONED
PlayerUnitEventLoaded=playerunitevent,EVENT_PLAYER_UNIT_LOADED,WESTRING_PUEVENT_LOADED
PlayerUnitEventTrain_Start=playerunitevent,EVENT_PLAYER_UNIT_TRAIN_START,WESTRING_PUEVENT_TRAINSTART
PlayerUnitEventTrain_Cancel=playerunitevent,EVENT_PLAYER_UNIT_TRAIN_CANCEL,WESTRING_PUEVENT_TRAINCANCEL
PlayerUnitEventTrain_Finish=playerunitevent,EVENT_PLAYER_UNIT_TRAIN_FINISH,WESTRING_PUEVENT_TRAINFINISH
PlayerUnitEventConstruct_Start=playerunitevent,EVENT_PLAYER_UNIT_CONSTRUCT_START,WESTRING_PUEVENT_CONSTRUCTSTART
PlayerUnitEventConstruct_Cancel=playerunitevent,EVENT_PLAYER_UNIT_CONSTRUCT_CANCEL,WESTRING_PUEVENT_CONSTRUCTCANCEL
PlayerUnitEventConstruct_Finish=playerunitevent,EVENT_PLAYER_UNIT_CONSTRUCT_FINISH,WESTRING_PUEVENT_CONSTRUCTFINISH
PlayerUnitEventReviveStart=playerunitevent,EVENT_PLAYER_HERO_REVIVE_START,WESTRING_PUEVENT_REVIVESTART
PlayerUnitEventReviveCancel=playerunitevent,EVENT_PLAYER_HERO_REVIVE_CANCEL,WESTRING_PUEVENT_REVIVECANCEL
PlayerUnitEventReviveFinish=playerunitevent,EVENT_PLAYER_HERO_REVIVE_FINISH,WESTRING_PUEVENT_REVIVEFINISH
PlayerUnitEventUpgrade_Start=playerunitevent,EVENT_PLAYER_UNIT_UPGRADE_START,WESTRING_PUEVENT_UPGRADESTART
PlayerUnitEventUpgrade_Cancel=playerunitevent,EVENT_PLAYER_UNIT_UPGRADE_CANCEL,WESTRING_PUEVENT_UPGRADECANCEL
PlayerUnitEventUpgrade_Finish=playerunitevent,EVENT_PLAYER_UNIT_UPGRADE_FINISH,WESTRING_PUEVENT_UPGRADEFINISH
PlayerUnitEventResearch_Start=playerunitevent,EVENT_PLAYER_UNIT_RESEARCH_START,WESTRING_PUEVENT_RESEARCHSTART
PlayerUnitEventResearch_Cancel=playerunitevent,EVENT_PLAYER_UNIT_RESEARCH_CANCEL,WESTRING_PUEVENT_RESEARCHCANCEL
PlayerUnitEventResearch_Finish=playerunitevent,EVENT_PLAYER_UNIT_RESEARCH_FINISH,WESTRING_PUEVENT_RESEARCHFINISH
PlayerUnitEventIssued_Unit_Order=playerunitevent,EVENT_PLAYER_UNIT_ISSUED_TARGET_ORDER,WESTRING_PUEVENT_ISSUEDUNITORDER
PlayerUnitEventIssued_Point_Order=playerunitevent,EVENT_PLAYER_UNIT_ISSUED_POINT_ORDER,WESTRING_PUEVENT_ISSUEDPOINTORDER
PlayerUnitEventIssued_Order=playerunitevent,EVENT_PLAYER_UNIT_ISSUED_ORDER,WESTRING_PUEVENT_ISSUEDORDER

// Unit events
UnitEventDeath=unitevent,EVENT_UNIT_DEATH,WESTRING_UEVENT_DEATH
UnitEventDecay=unitevent,EVENT_UNIT_DECAY,WESTRING_UEVENT_DECAY
UnitEventDamaged=unitevent,EVENT_UNIT_DAMAGED,WESTRING_UEVENT_DAMAGED
UnitEventHeroLevel=unitevent,EVENT_UNIT_HERO_LEVEL,WESTRING_UEVENT_HEROLEVEL
UnitEventHeroSkill=unitevent,EVENT_UNIT_HERO_SKILL,WESTRING_UEVENT_HEROSKILL
UnitEventHeroRevivable=unitevent,EVENT_UNIT_HERO_REVIVABLE,WESTRING_UEVENT_HEROREVIVABLE
UnitEventHeroUseItem=unitevent,EVENT_UNIT_USE_ITEM,WESTRING_UEVENT_HEROUSEITEM
UnitEventHeroPickUpItem=unitevent,EVENT_UNIT_PICKUP_ITEM,WESTRING_UEVENT_HEROPICKUPITEM
UnitEventHeroDropItem=unitevent,EVENT_UNIT_DROP_ITEM,WESTRING_UEVENT_HERODROPITEM
UnitEventAttacked=unitevent,EVENT_UNIT_ATTACKED,WESTRING_UEVENT_ATTACKED
UnitEventRescued=unitevent,EVENT_UNIT_RESCUED,WESTRING_UEVENT_RESCUED
UnitEventSelected=unitevent,EVENT_UNIT_SELECTED,WESTRING_UEVENT_SELECTED
UnitEventDeselected=unitevent,EVENT_UNIT_DESELECTED,WESTRING_UEVENT_DESELECTED
UnitEventLoaded=unitevent,EVENT_UNIT_LOADED,WESTRING_UEVENT_LOADED
UnitEventAcquiredTarget=unitevent,EVENT_UNIT_ACQUIRED_TARGET,WESTRING_UEVENT_ACQUIREDTARGET
UnitEventTargetInRange=unitevent,EVENT_UNIT_TARGET_IN_RANGE,WESTRING_UEVENT_TARGETINRANGE
UnitEventTrainStart=unitevent,EVENT_UNIT_TRAIN_START,WESTRING_UEVENT_TRAINSTART
UnitEventTrainCancel=unitevent,EVENT_UNIT_TRAIN_CANCEL,WESTRING_UEVENT_TRAINCANCEL
UnitEventTrainFinish=unitevent,EVENT_UNIT_TRAIN_FINISH,WESTRING_UEVENT_TRAINFINISH
UnitEventReviveStart=unitevent,EVENT_UNIT_HERO_REVIVE_START,WESTRING_UEVENT_REVIVESTART
UnitEventReviveCancel=unitevent,EVENT_UNIT_HERO_REVIVE_CANCEL,WESTRING_UEVENT_REVIVECANCEL
UnitEventReviveFinish=unitevent,EVENT_UNIT_HERO_REVIVE_FINISH,WESTRING_UEVENT_REVIVEFINISH
UnitEventUpgradeStart=unitevent,EVENT_UNIT_UPGRADE_START,WESTRING_UEVENT_UPGRADESTART
UnitEventUpgradeCancel=unitevent,EVENT_UNIT_UPGRADE_CANCEL,WESTRING_UEVENT_UPGRADECANCEL
UnitEventUpgradeFinish=unitevent,EVENT_UNIT_UPGRADE_FINISH,WESTRING_UEVENT_UPGRADEFINISH
UnitEventResearchStart=unitevent,EVENT_UNIT_RESEARCH_START,WESTRING_UEVENT_RESEARCHSTART
UnitEventResearchCancel=unitevent,EVENT_UNIT_RESEARCH_CANCEL,WESTRING_UEVENT_RESEARCHCANCEL
UnitEventResearchFinish=unitevent,EVENT_UNIT_RESEARCH_FINISH,WESTRING_UEVENT_RESEARCHFINISH
UnitEventIssueUnitOrder=unitevent,EVENT_UNIT_ISSUED_TARGET_ORDER,WESTRING_UEVENT_ISSUEUNITORDER
UnitEventIssuePointOrder=unitevent,EVENT_UNIT_ISSUED_POINT_ORDER,WESTRING_UEVENT_ISSUEPOINTORDER
UnitEventIssueOrder=unitevent,EVENT_UNIT_ISSUED_ORDER,WESTRING_UEVENT_ISSUEORDER

// Unit states (read-only)
UnitStateLife=unitstate,UNIT_STATE_LIFE,WESTRING_USTATE_LIFE
UnitStateMaxLife=unitstate,UNIT_STATE_MAX_LIFE,WESTRING_USTATE_MAXLIFE
UnitStateMana=unitstate,UNIT_STATE_MANA,WESTRING_USTATE_MANA
UnitStateMaxMana=unitstate,UNIT_STATE_MAX_MANA,WESTRING_USTATE_MAXMANA

// Unit states (writable)
UnitStateRWLife=unitstaterw,UNIT_STATE_LIFE,WESTRING_USTATERW_LIFE
UnitStateRWMana=unitstaterw,UNIT_STATE_MANA,WESTRING_USTATERW_MANA

// Unit types
UnitTypeStructure=unittype,UNIT_TYPE_STRUCTURE,WESTRING_UNITTYPE_STRUCTURE
UnitTypeHero=unittype,UNIT_TYPE_HERO,WESTRING_UNITTYPE_HERO
UnitTypeGround=unittype,UNIT_TYPE_GROUND,WESTRING_UNITTYPE_GROUND
UnitTypeFlying=unittype,UNIT_TYPE_FLYING,WESTRING_UNITTYPE_FLYING
UnitTypeAttacksGround=unittype,UNIT_TYPE_ATTACKS_GROUND,WESTRING_UNITTYPE_ATTACKSGROUND
UnitTypeAttacksFlying=unittype,UNIT_TYPE_ATTACKS_FLYING,WESTRING_UNITTYPE_ATTACKSFLYING
UnitTypeMeleeAttacker=unittype,UNIT_TYPE_MELEE_ATTACKER,WESTRING_UNITTYPE_MELEEATTACKER
UnitTypeRangedAttacker=unittype,UNIT_TYPE_RANGED_ATTACKER,WESTRING_UNITTYPE_RANGEDATTACKER
UnitTypeSummoned=unittype,UNIT_TYPE_SUMMONED,WESTRING_UNITTYPE_SUMMONED
UnitTypeUndead=unittype,UNIT_TYPE_UNDEAD,WESTRING_UNITTYPE_UNDEAD
UnitTypeMechanical=unittype,UNIT_TYPE_MECHANICAL,WESTRING_UNITTYPE_MECHANICAL
UnitTypeAncient=unittype,UNIT_TYPE_ANCIENT,WESTRING_UNITTYPE_ANCIENT
UnitTypePeon=unittype,UNIT_TYPE_PEON,WESTRING_UNITTYPE_PEON
UnitTypeTownHall=unittype,UNIT_TYPE_TOWNHALL,WESTRING_UNITTYPE_TOWNHALL
UnitTypeSapper=unittype,UNIT_TYPE_SAPPER,WESTRING_UNITTYPE_SAPPER

// Game speeds
GameSpeedSlowest=gamespeed,MAP_SPEED_SLOWEST,WESTRING_GAMESPEED_SLOWEST
GameSpeedSlow=gamespeed,MAP_SPEED_SLOW,WESTRING_GAMESPEED_SLOW
GameSpeedNormal=gamespeed,MAP_SPEED_NORMAL,WESTRING_GAMESPEED_NORMAL
GameSpeedFast=gamespeed,MAP_SPEED_FAST,WESTRING_GAMESPEED_FAST
GameSpeedFastest=gamespeed,MAP_SPEED_FASTEST,WESTRING_GAMESPEED_FASTEST

// Game difficulties
GameDifficultyEasy=gamedifficulty,MAP_DIFFICULTY_EASY,WESTRING_GAMEDIFFICULTY_EASY
GameDifficultyNormal=gamedifficulty,MAP_DIFFICULTY_NORMAL,WESTRING_GAMEDIFFICULTY_NORMAL
GameDifficultyHard=gamedifficulty,MAP_DIFFICULTY_HARD,WESTRING_GAMEDIFFICULTY_HARD

// Map densities
MapDensityNone=mapdensity,MAP_DENSITY_NONE,WESTRING_MAPDENSITY_NONE
MapDensityLight=mapdensity,MAP_DENSITY_LIGHT,WESTRING_MAPDENSITY_LIGHT
MapDensityMedium=mapdensity,MAP_DENSITY_MEDIUM,WESTRING_MAPDENSITY_MEDIUM
MapDensityHeavy=mapdensity,MAP_DENSITY_HEAVY,WESTRING_MAPDENSITY_HEAVY

// Alliance settings
AllianceSettingUnallied=alliancesetting,bj_ALLIANCE_UNALLIED,WESTRING_ALLIANCE_UNALLIED
AllianceSettingUnalliedVision=alliancesetting,bj_ALLIANCE_UNALLIED_VISION,WESTRING_ALLIANCE_UNALLIEDVISION
AllianceSettingNeutral=alliancesetting,bj_ALLIANCE_NEUTRAL,WESTRING_ALLIANCE_NEUTRAL
AllianceSettingAllied=alliancesetting,bj_ALLIANCE_ALLIED,WESTRING_ALLIANCE_ALLIED
AllianceSettingAlliedVision=alliancesetting,bj_ALLIANCE_ALLIED_VISION,WESTRING_ALLIANCE_ALLIEDVISION
AllianceSettingAlliedUnits=alliancesetting,bj_ALLIANCE_ALLIED_UNITS,WESTRING_ALLIANCE_ALLIEDUNITS
AllianceSettingAlliedAdvUnits=alliancesetting,bj_ALLIANCE_ALLIED_ADVUNITS,WESTRING_ALLIANCE_ALLIEDADVUNITS

// Alliance types
AllianceTypePassive=alliancetype,ALLIANCE_PASSIVE,WESTRING_ALLIANCE_PASSIVE
AllianceTypeSharedVision=alliancetype,ALLIANCE_SHARED_VISION,WESTRING_ALLIANCE_SHAREDVISION
AllianceTypeSharedControl=alliancetype,ALLIANCE_SHARED_CONTROL,WESTRING_ALLIANCE_SHAREDCONTROL
AllianceTypeSharedFullControl=alliancetype,ALLIANCE_SHARED_ADVANCED_CONTROL,WESTRING_ALLIANCE_SHAREDFULLCONTROL
AllianceTypeXP=alliancetype,ALLIANCE_SHARED_XP,WESTRING_ALLIANCE_XP
AllianceTypeSpells=alliancetype,ALLIANCE_SHARED_SPELLS,WESTRING_ALLIANCE_SPELLS
AllianceTypeHelpRequest=alliancetype,ALLIANCE_HELP_REQUEST,WESTRING_ALLIANCE_HELPREQUEST
AllianceTypeHelpResponse=alliancetype,ALLIANCE_HELP_RESPONSE,WESTRING_ALLIANCE_HELPRESPONSE

// Camera fields
CameraFieldTargetDistance=camerafield,CAMERA_FIELD_TARGET_DISTANCE,WESTRING_CAMERA_TARGETDISTANCE
CameraFieldFarZ=camerafield,CAMERA_FIELD_FARZ,WESTRING_CAMERA_FARZ
CameraFieldAOA=camerafield,CAMERA_FIELD_ANGLE_OF_ATTACK,WESTRING_CAMERA_AOA
CameraFieldFOV=camerafield,CAMERA_FIELD_FIELD_OF_VIEW,WESTRING_CAMERA_FOV
CameraFieldRoll=camerafield,CAMERA_FIELD_ROLL,WESTRING_CAMERA_ROLL
CameraFieldRotation=camerafield,CAMERA_FIELD_ROTATION,WESTRING_CAMERA_ROTATION

// Animation rarity controls
RarityControlFrequent=raritycontrol,RARITY_FREQUENT,WESTRING_RARITY_FREQUENT
RarityControlRare=raritycontrol,RARITY_RARE,WESTRING_RARITY_RARE

// Blending Methods
BlendModeNone=blendmode,BLEND_MODE_NONE,WESTRING_BLENDMODE_NONE
BlendModeBlend=blendmode,BLEND_MODE_BLEND,WESTRING_BLENDMODE_BLEND
BlendModeAdditive=blendmode,BLEND_MODE_ADDITIVE,WESTRING_BLENDMODE_ADDITIVE
BlendModeModulate=blendmode,BLEND_MODE_MODULATE,WESTRING_BLENDMODE_MODULATE
BlendModeModulate2x=blendmode,BLEND_MODE_MODULATE_2X,WESTRING_BLENDMODE_MODULATE_2X
BlendModeKeyAlpha=blendmode,BLEND_MODE_KEYALPHA,WESTRING_BLENDMODE_KEYALPHA

// Volume Groups
VolumeGroupUnitMovement=volumegroup,SOUND_VOLUMEGROUP_UNITMOVEMENT,WESTRING_VOLUMEGROUP_UNITMOVEMENT
VolumeGroupUnitSounds=volumegroup,SOUND_VOLUMEGROUP_UNITSOUNDS,WESTRING_VOLUMEGROUP_UNITSOUNDS
VolumeGroupCombat=volumegroup,SOUND_VOLUMEGROUP_COMBAT,WESTRING_VOLUMEGROUP_COMBAT
VolumeGroupSpells=volumegroup,SOUND_VOLUMEGROUP_SPELLS,WESTRING_VOLUMEGROUP_SPELLS
VolumeGroupUI=volumegroup,SOUND_VOLUMEGROUP_UI,WESTRING_VOLUMEGROUP_UI
VolumeGroupMusic=volumegroup,SOUND_VOLUMEGROUP_MUSIC,WESTRING_VOLUMEGROUP_MUSIC
VolumeGroupAmbient=volumegroup,SOUND_VOLUMEGROUP_AMBIENTSOUNDS,WESTRING_VOLUMEGROUP_AMBIENTSOUNDS
VolumeGroupFire=volumegroup,SOUND_VOLUMEGROUP_FIRE,WESTRING_VOLUMEGROUP_FIRE

// Fog states
FogStateMasked=fogstate,FOG_OF_WAR_MASKED,WESTRING_FOGSTATE_MASKED
FogStateFogged=fogstate,FOG_OF_WAR_FOGGED,WESTRING_FOGSTATE_FOGGED
FogStateVisible=fogstate,FOG_OF_WAR_VISIBLE,WESTRING_FOGSTATE_VISIBLE

// Change color option
ChangeColorTrue=colorchangeoption,true,WESTRING_CHANGECOLOR_CHANGE
ChangeColorFalse=colorchangeoption,false,WESTRING_CHANGECOLOR_RETAIN

// Player Change Color option
PlayerChangeColorChange=playerchangecoloroption,true,WESTRING_SETPLAYERCOLOR_CHANGE
PlayerChangeColorRetain=playerchangecoloroption,false,WESTRING_SETPLAYERCOLOR_RETAIN

// Chat match types
ChatMatchTypeExact=chatmatchtype,true,WESTRING_CHATMATCH_EXACT
ChatMatchTypeSubstring=chatmatchtype,false,WESTRING_CHATMATCH_SUBSTRING

// UnitFacing bones
UnitFacingBoneHead=unitfacingbone,`bone_head`,WESTRING_UNITFACINGBONE_HEAD
UnitFacingBoneChest=unitfacingbone,`bone_chest`,WESTRING_UNITFACINGBONE_CHEST

// Include option
InclusionInclude=includeoption,true,WESTRING_INCLUSION_INCLUDE
InclusionExclude=includeoption,false,WESTRING_INCLUSION_EXCLUDE

// Camera Pan option
CameraApply=cameraapplyoption,true,WESTRING_CAMERAAPPLYOPTION_APPLY
CameraApplyNoPan=cameraapplyoption,false,WESTRING_CAMERAAPPLYOPTION_APPLYNOPAN

// Camera Orientation option
CameraOrientationNormal=cameraorientationoption,false,WESTRING_CAMERAORIENTATION_NORMAL
CameraOrientationInherit=cameraorientationoption,true,WESTRING_CAMERAORIENTATION_INHERIT

// Invulnerability option
InvulnerabilityInvulnerable=invulnerableoption,true,WESTRING_INVULNERABILITY_INVULNERABLE
InvulnerabilityVulnerable=invulnerableoption,false,WESTRING_INVULNERABILITY_VULNERABLE

// Availability option
AvailabilityOptionAvailable=availabilityoption,true,WESTRING_AVAILABILITY_AVAILABLE
AvailabilityOptionUnavailable=availabilityoption,false,WESTRING_AVAILABILITY_UNAVAILABLE

// ShowHide option
ShowHideHide=showhideoption,false,WESTRING_SHOWHIDE_HIDE
ShowHideShow=showhideoption,true,WESTRING_SHOWHIDE_SHOW

// Sky Model
SkyModelNone=skymodelstring,null,WESTRING_SKYMODEL_NONE
SkyModelSky08=skymodelstring,`Environment\\Sky\\BlizzardSky\\BlizzardSky.mdl`,WESTRING_SKYMODEL_SKY08
SkyModelSky02=skymodelstring,`Environment\\Sky\\DalaranSky\\DalaranSky.mdl`,WESTRING_SKYMODEL_SKY02
SkyModelSky06=skymodelstring,`Environment\\Sky\\FelwoodSky\\FelwoodSky.mdl`,WESTRING_SKYMODEL_SKY06
SkyModelSky07=skymodelstring,`Environment\\Sky\\FoggedSky\\FoggedSky.mdl`,WESTRING_SKYMODEL_SKY07
SkyModelSky01=skymodelstring,`Environment\\Sky\\Sky\\SkyLight.mdl`,WESTRING_SKYMODEL_SKY01
SkyModelSky03=skymodelstring,`Environment\\Sky\\LordaeronFallSky\\LordaeronFallSky.mdl`,WESTRING_SKYMODEL_SKY03
SkyModelSky04=skymodelstring,`Environment\\Sky\\LordaeronSummerSky\\LordaeronSummerSky.mdl`,WESTRING_SKYMODEL_SKY04
SkyModelSky05=skymodelstring,`Environment\\Sky\\LordaeronWinterSky\\LordaeronWinterSky.mdl`,WESTRING_SKYMODEL_SKY05
SkyModelSky09=skymodelstring,`Environment\\Sky\\LordaeronWinterSkyBrightGreen\\LordaeronWinterSkyBrightGreen.mdl`,WESTRING_SKYMODEL_SKY09
SkyModelSky10=skymodelstring,`Environment\\Sky\\LordaeronWinterSkyPink\\LordaeronWinterSkyPink.mdl`,WESTRING_SKYMODEL_SKY10
SkyModelSky11=skymodelstring,`Environment\\Sky\\LordaeronWinterSkyPurple\\LordaeronWinterSkyPurple.mdl`,WESTRING_SKYMODEL_SKY11
SkyModelSky12=skymodelstring,`Environment\\Sky\\LordaeronWinterSkyRed\\LordaeronWinterSkyRed.mdl`,WESTRING_SKYMODEL_SKY12
SkyModelSky13=skymodelstring,`Environment\\Sky\\LordaeronWinterSkyYellow\\LordaeronWinterSkyYellow.mdl`,WESTRING_SKYMODEL_SKY13

// Cinematic filter textures
CineFilterTextureWhite=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\White_mask.blp`,WESTRING_CINEFILTERTEX_WHITE
CineFilterTextureBlack=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\Black_mask.blp`,WESTRING_CINEFILTERTEX_BLACK
CineFilterTextureHaze=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\HazeFilter_mask.blp`,WESTRING_CINEFILTERTEX_HAZE
CineFilterTextureGroundFog=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\GroundFog_mask.blp`,WESTRING_CINEFILTERTEX_GROUNDFOG
CineFilterTextureHazeAndFog=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\HazeAndFogFilter_Mask.blp`,WESTRING_CINEFILTERTEX_HAZEANDFOG
CineFilterTextureDiagonal=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\DiagonalSlash_mask.blp`,WESTRING_CINEFILTERTEX_DIAGONAL
CineFilterTextureDream=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\DreamFilter_Mask.blp`,WESTRING_CINEFILTERTEX_DREAM
CineFilterTextureScope=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\Scope_Mask.blp`,WESTRING_CINEFILTERTEX_SCOPE
CineFilterTexturePow=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\SpecialPowMask.blp`,WESTRING_CINEFILTERTEX_POW
CineFilterTextureSplat=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\SpecialSplatMask.blp`,WESTRING_CINEFILTERTEX_SPLAT
CineFilterTexturePanda=cinefiltertexture,`ReplaceableTextures\\CameraMasks\\Panda-n-Cub.blp`,WESTRING_CINEFILTERTEX_PANDA

// Music themes
MusicThemeComradeship=musictheme,`Sound\\Music\\mp3Music\\Comradeship.mp3`,WESTRING_MUSICTHEME_COMRADESHIP
MusicThemeCredits=musictheme,`Sound\\Music\\mp3Music\\Credits.mp3`,WESTRING_MUSICTHEME_CREDITS
MusicThemeDarkAgents=musictheme,`Sound\\Music\\mp3Music\\DarkAgents.mp3`,WESTRING_MUSICTHEME_DARKAGENTS
MusicThemeDarkVictory=musictheme,`Sound\\Music\\mp3Music\\DarkVictory.mp3`,WESTRING_MUSICTHEME_DARKVICTORY
MusicThemeDoom=musictheme,`Sound\\Music\\mp3Music\\Doom.mp3`,WESTRING_MUSICTHEME_DOOM
MusicThemeHeroicVictory=musictheme,`Sound\\Music\\mp3Music\\HeroicVictory.mp3`,WESTRING_MUSICTHEME_HEROIC_VICTORY
MusicThemeHuman1=musictheme,`Sound\\Music\\mp3Music\\Human1.mp3`,WESTRING_MUSICTHEME_HUMAN1
MusicThemeHuman2=musictheme,`Sound\\Music\\mp3Music\\Human2.mp3`,WESTRING_MUSICTHEME_HUMAN2
MusicThemeHuman3=musictheme,`Sound\\Music\\mp3Music\\Human3.mp3`,WESTRING_MUSICTHEME_HUMAN3
MusicThemeDefeatHuman=musictheme,`Sound\\Music\\mp3Music\\HumanDefeat.mp3`,WESTRING_MUSICTHEME_DEFEAT_HUMAN
MusicThemeVictoryHuman=musictheme,`Sound\\Music\\mp3Music\\HumanVictory.mp3`,WESTRING_MUSICTHEME_VICTORY_HUMAN
MusicThemeMainScreen=musictheme,`Sound\\Music\\mp3Music\\MainScreen.mp3`,WESTRING_MUSICTHEME_MAINSCREEN
MusicThemeNightElf1=musictheme,`Sound\\Music\\mp3Music\\NightElf1.mp3`,WESTRING_MUSICTHEME_NIGHTELF1
MusicThemeNightElf2=musictheme,`Sound\\Music\\mp3Music\\NightElf2.mp3`,WESTRING_MUSICTHEME_NIGHTELF2
MusicThemeNightElf3=musictheme,`Sound\\Music\\mp3Music\\NightElf3.mp3`,WESTRING_MUSICTHEME_NIGHTELF3
MusicThemeDefeatNightElf=musictheme,`Sound\\Music\\mp3Music\\NightElfDefeat.mp3`,WESTRING_MUSICTHEME_DEFEAT_NIGHTELF
MusicThemeVictoryNightElf=musictheme,`Sound\\Music\\mp3Music\\NightElfVictory.mp3`,WESTRING_MUSICTHEME_VICTORY_NIGHTELF
MusicThemeOrc1=musictheme,`Sound\\Music\\mp3Music\\Orc1.mp3`,WESTRING_MUSICTHEME_ORC1
MusicThemeOrc2=musictheme,`Sound\\Music\\mp3Music\\Orc2.mp3`,WESTRING_MUSICTHEME_ORC2
MusicThemeOrc3=musictheme,`Sound\\Music\\mp3Music\\Orc3.mp3`,WESTRING_MUSICTHEME_ORC3
MusicThemeDefeatOrc=musictheme,`Sound\\Music\\mp3Music\\OrcDefeat.mp3`,WESTRING_MUSICTHEME_DEFEAT_ORC
MusicThemeVictoryOrc=musictheme,`Sound\\Music\\mp3Music\\OrcVictory.mp3`,WESTRING_MUSICTHEME_VICTORY_ORC
MusicThemeSadMystery=musictheme,`Sound\\Music\\mp3Music\\SadMystery.mp3`,WESTRING_MUSICTHEME_SADMYSTERY
MusicThemeTension=musictheme,`Sound\\Music\\mp3Music\\Tension.mp3`,WESTRING_MUSICTHEME_TENSION
MusicThemeTragicConfrontation=musictheme,`Sound\\Music\\mp3Music\\TragicConfrontation.mp3`,WESTRING_MUSICTHEME_TRAGICCONFRONTATION
MusicThemeUndead1=musictheme,`Sound\\Music\\mp3Music\\Undead1.mp3`,WESTRING_MUSICTHEME_UNDEAD1
MusicThemeUndead2=musictheme,`Sound\\Music\\mp3Music\\Undead2.mp3`,WESTRING_MUSICTHEME_UNDEAD2
MusicThemeUndead3=musictheme,`Sound\\Music\\mp3Music\\Undead3.mp3`,WESTRING_MUSICTHEME_UNDEAD3
MusicThemeDefeatUndead=musictheme,`Sound\\Music\\mp3Music\\UndeadDefeat.mp3`,WESTRING_MUSICTHEME_DEFEAT_UNDEAD
MusicThemeVictoryUndead=musictheme,`Sound\\Music\\mp3Music\\UndeadVictory.mp3`,WESTRING_MUSICTHEME_VICTORY_UNDEAD

// Daytime Ambient Themes
AmbientThemeDayA=ambientthemeday,`AshenvaleDay`,WESTRING_AMBIENTTHEMEDAY_A
AmbientThemeDayB=ambientthemeday,`BarrensDay`,WESTRING_AMBIENTTHEMEDAY_B
AmbientThemeDayY=ambientthemeday,`CityScapeDay`,WESTRING_AMBIENTTHEMEDAY_Y
AmbientThemeDayX=ambientthemeday,`DalaranDay`,WESTRING_AMBIENTTHEMEDAY_X
AmbientThemeDayD=ambientthemeday,`DungeonDay`,WESTRING_AMBIENTTHEMEDAY_D
AmbientThemeDayC=ambientthemeday,`FelwoodDay`,WESTRING_AMBIENTTHEMEDAY_C
AmbientThemeDayF=ambientthemeday,`LordaeronFallDay`,WESTRING_AMBIENTTHEMEDAY_F
AmbientThemeDayL=ambientthemeday,`LordaeronSummerDay`,WESTRING_AMBIENTTHEMEDAY_L
AmbientThemeDayW=ambientthemeday,`LordaeronWinterDay`,WESTRING_AMBIENTTHEMEDAY_W
AmbientThemeDayN=ambientthemeday,`NorthrendDay`,WESTRING_AMBIENTTHEMEDAY_N
AmbientThemeDayV=ambientthemeday,`VillageDay`,WESTRING_AMBIENTTHEMEDAY_V
AmbientThemeDayQ=ambientthemeday,`VillageFallDay`,WESTRING_AMBIENTTHEMEDAY_Q

// Nighttime Ambient Themes
AmbientThemeNightA=ambientthemenight,`AshenvaleNight`,WESTRING_AMBIENTTHEMENIGHT_A
AmbientThemeNightB=ambientthemenight,`BarrensNight`,WESTRING_AMBIENTTHEMENIGHT_B
AmbientThemeNightY=ambientthemenight,`CityScapeNight`,WESTRING_AMBIENTTHEMENIGHT_Y
AmbientThemeNightX=ambientthemenight,`DalaranNight`,WESTRING_AMBIENTTHEMENIGHT_X
AmbientThemeNightD=ambientthemenight,`DungeonNight`,WESTRING_AMBIENTTHEMENIGHT_D
AmbientThemeNightC=ambientthemenight,`FelwoodNight`,WESTRING_AMBIENTTHEMENIGHT_C
AmbientThemeNightF=ambientthemenight,`LordaeronFallNight`,WESTRING_AMBIENTTHEMENIGHT_F
AmbientThemeNightL=ambientthemenight,`LordaeronSummerNight`,WESTRING_AMBIENTTHEMENIGHT_L
AmbientThemeNightW=ambientthemenight,`LordaeronWinterNight`,WESTRING_AMBIENTTHEMENIGHT_W
AmbientThemeNightN=ambientthemenight,`NorthrendNight`,WESTRING_AMBIENTTHEMENIGHT_N
AmbientThemeNightV=ambientthemenight,`VillageNight`,WESTRING_AMBIENTTHEMENIGHT_V
AmbientThemeNightQ=ambientthemenight,`VillageFallNight`,WESTRING_AMBIENTTHEMENIGHT_Q

// Unit State Method
UnitStateMethodAbsolute=unitstatemethod,bj_UNIT_STATE_METHOD_ABSOLUTE,WESTRING_UNITSTATEMETHOD_ABSOLUTE
UnitStateMethodRelative=unitstatemethod,bj_UNIT_STATE_METHOD_RELATIVE,WESTRING_UNITSTATEMETHOD_RELATIVE
UnitStateMethodDefaults=unitstatemethod,bj_UNIT_STATE_METHOD_DEFAULTS,WESTRING_UNITSTATEMETHOD_DEFAULTS
UnitStateMethodMaximum=unitstatemethod,bj_UNIT_STATE_METHOD_MAXIMUM,WESTRING_UNITSTATEMETHOD_MAXIMUM

// CheckingIgnoring option
CheckingIgnoringChecking=checkingignoringoption,true,WESTRING_CHECKINGIGNORINGOPTION_CHECKING
CheckingIgnoringIgnoring=checkingignoringoption,false,WESTRING_CHECKINGIGNORINGOPTION_IGNORING

// Pathing option
PathingOn=pathingoption,true,WESTRING_PATHING_ON
PathingOff=pathingoption,false,WESTRING_PATHING_OFF

// DropOnDeath option
DropNoDropOptionDrop=dropnodropoption,true,WESTRING_DROPNODROPOPTION_DROP
DropNoDropOptionNoDrop=dropnodropoption,false,WESTRING_DROPNODROPOPTION_NODROP

// Droppable option
DroppableOptionDrop=droppableoption,true,WESTRING_DROPPABLE_DROP
DroppableOptionNoDrop=droppableoption,false,WESTRING_DROPPABLE_NODROP

// BeforeAfter option
BeforeAfterBefore=beforeafteroption,false,WESTRING_BEFOREAFTER_BEFORE
BeforeAfterAfter=beforeafteroption,true,WESTRING_BEFOREAFTER_AFTER

// OnOff option
OnOffOn=onoffoption,true,WESTRING_ONOFF_ON
OnOffOff=onoffoption,false,WESTRING_ONOFF_OFF

// EnableDisable option
EnableDisableEnable=enabledisableoption,true,WESTRING_ENABLEDISABLE_ENABLE
EnableDisableDisable=enabledisableoption,false,WESTRING_ENABLEDISABLE_DISABLE

// EnabledDisabled option
EnabledDisabledEnabled=enableddisabledoption,true,WESTRING_ENABLEDDISABLED_ENABLED
EnabledDisabledDisabled=enableddisabledoption,false,WESTRING_ENABLEDDISABLED_DISABLED

// Rescuable option
RescuableOptionRescuable=rescuableoption,true,WESTRING_RESCUABLEOPTION_RESCUABLE
RescuableOptionUnrescuable=rescuableoption,false,WESTRING_RESCUABLEOPTION_UNRESCUABLE

// AllowDont option
AllowDontAllow=allowdontoption,true,WESTRING_ALLOWDONTOPTION_ALLOW
AllowDontDont=allowdontoption,false,WESTRING_ALLOWDONTOPTION_DONT

// FadeDont option
FadeDontFade=fadedontoption,true,WESTRING_FADEDONTOPTION_FADE
FadeDontDont=fadedontoption,false,WESTRING_FADEDONTOPTION_DONT

// AddSetTo option
AddSetToAdd=addsettooption,bj_TIMETYPE_ADD,WESTRING_ADDSETTOOPTION_ADD
AddSetToSub=addsettooption,bj_TIMETYPE_SUB,WESTRING_ADDSETTOOPTION_SUB
AddSetToSet=addsettooption,bj_TIMETYPE_SET,WESTRING_ADDSETTOOPTION_SET

// WaitDont option
WaitDontWait=waitdontoption,true,WESTRING_WAITDONTOPTION_WAIT
WaitDontDont=waitdontoption,false,WESTRING_WAITDONTOPTION_DONT

// CreateRemove option
CreateRemoveCreate=createremoveoption,true,WESTRING_CREATEREMOVEOPTION_CREATE
CreateRemoveRemove=createremoveoption,false,WESTRING_CREATEREMOVEOPTION_REMOVE

// AddRemove option
AddRemoveAdd=addremoveoption,true,WESTRING_ADDREMOVEOPTION_ADD
AddRemoveRemove=addremoveoption,false,WESTRING_ADDREMOVEOPTION_REMOVE

// QuestType option
QuestTypeReqDiscovered=questtypeoption,bj_QUESTTYPE_REQ_DISCOVERED,WESTRING_QUESTTYPE_REQ_DISCOVERED
QuestTypeOptDiscovered=questtypeoption,bj_QUESTTYPE_OPT_DISCOVERED,WESTRING_QUESTTYPE_OPT_DISCOVERED
QuestTypeReqUndiscovered=questtypeoption,bj_QUESTTYPE_REQ_UNDISCOVERED,WESTRING_QUESTTYPE_REQ_UNDISCOVERED
QuestTypeOptUndiscovered=questtypeoption,bj_QUESTTYPE_OPT_UNDISCOVERED,WESTRING_QUESTTYPE_OPT_UNDISCOVERED

// QuestMessageType option
QuestMessageTypeDiscovered=questmessagetype,bj_QUESTMESSAGE_DISCOVERED,WESTRING_QUESTMESSAGE_DISCOVERED
QuestMessageTypeUpdated=questmessagetype,bj_QUESTMESSAGE_UPDATED,WESTRING_QUESTMESSAGE_UPDATED
QuestMessageTypeCompleted=questmessagetype,bj_QUESTMESSAGE_COMPLETED,WESTRING_QUESTMESSAGE_COMPLETED
QuestMessageTypeFailed=questmessagetype,bj_QUESTMESSAGE_FAILED,WESTRING_QUESTMESSAGE_FAILED
QuestMessageTypeRequirement=questmessagetype,bj_QUESTMESSAGE_REQUIREMENT,WESTRING_QUESTMESSAGE_REQUIREMENT
QuestMessageTypeMissionFailed=questmessagetype,bj_QUESTMESSAGE_MISSIONFAILED,WESTRING_QUESTMESSAGE_MISSIONFAILED
QuestMessageTypeAlwaysHint=questmessagetype,bj_QUESTMESSAGE_ALWAYSHINT,WESTRING_QUESTMESSAGE_ALWAYSHINT
QuestMessageTypeHint=questmessagetype,bj_QUESTMESSAGE_HINT,WESTRING_QUESTMESSAGE_HINT
QuestMessageTypeSecret=questmessagetype,bj_QUESTMESSAGE_SECRET,WESTRING_QUESTMESSAGE_SECRET
QuestMessageTypeUnitAcquired=questmessagetype,bj_QUESTMESSAGE_UNITACQUIRED,WESTRING_QUESTMESSAGE_UNITACQUIRED
QuestMessageTypeUnitAvailable=questmessagetype,bj_QUESTMESSAGE_UNITAVAILABLE,WESTRING_QUESTMESSAGE_UNITAVAILABLE
QuestMessageTypeItemAcquired=questmessagetype,bj_QUESTMESSAGE_ITEMACQUIRED,WESTRING_QUESTMESSAGE_ITEMACQUIRED

// Completion option
CompletionOptionCompleted=completionoption,true,WESTRING_COMPLETIONOPTION_COMPLETED
CompletionOptionIncomplete=completionoption,false,WESTRING_COMPLETIONOPTION_INCOMPLETE

// Failure option
FailureOptionFailed=failureoption,true,WESTRING_FAILUREOPTION_FAILED
FailureOptionNotFailed=failureoption,false,WESTRING_FAILUREOPTION_NOTFAILED

// Discovered option
DiscoveredOptionDiscovered=discoveredoption,true,WESTRING_DISCOVEREDOPTION_DISCOVERED
DiscoveredOptionUndiscovered=discoveredoption,false,WESTRING_DISCOVEREDOPTION_UNDISCOVERED

// PauseResume option
PauseResumePause=pauseresumeoption,true,WESTRING_PAUSERESUMEOPTION_PAUSE
PauseResumeResume=pauseresumeoption,false,WESTRING_PAUSERESUMEOPTION_RESUME

// Periodic option
PeriodicOptionOneTime=periodicoption,false,WESTRING_PERIODICOPTION_ONETIME
PeriodicOptionPeriodic=periodicoption,true,WESTRING_PERIODICOPTION_PERIODIC

// LeaderboardSort option
LeaderboardSortByValue=leaderboardsortoption,bj_SORTTYPE_SORTBYVALUE,WESTRING_LEADERBOARDSORT_BYVALUE
LeaderboardSortByPlayer=leaderboardsortoption,bj_SORTTYPE_SORTBYPLAYER,WESTRING_LEADERBOARDSORT_BYPLAYER
LeaderboardSortByLabel=leaderboardsortoption,bj_SORTTYPE_SORTBYLABEL,WESTRING_LEADERBOARDSORT_BYLABEL

// Ascending option
AscendingOptionAscending=ascendingoption,true,WESTRING_ASCENDINGOPTION_ASCENDING
AscendingOptionDescending=ascendingoption,false,WESTRING_ASCENDINGOPTION_DESCENDING

// SleepWake option
SleepWakeOptionSleep=sleepwakeoption,true,WESTRING_SLEEPWAKEOPTION_SLEEP
SleepWakeOptionWake=sleepwakeoption,false,WESTRING_SLEEPWAKEOPTION_WAKE

// PauseUnpause option
PauseUnpauseOptionPause=pauseunpauseoption,true,WESTRING_PAUSEUNPAUSEOPTION_PAUSE
PauseUnpauseOptionUnpause=pauseunpauseoption,false,WESTRING_PAUSEUNPAUSEOPTION_UNPAUSE

// ShareDont option
ShareDontOptionShare=sharedontoption,true,WESTRING_SHAREDONTOPTION_SHARE
ShareDontOptionDont=sharedontoption,false,WESTRING_SHAREDONTOPTION_DONT

// InOut option
FadeTypeOptionFadeOutIn=fadetypeoption,bj_CINEFADETYPE_FADEOUTIN,WESTRING_FADETYPEOPTION_FADEOUTIN
FadeTypeOptionFadeOut=fadetypeoption,bj_CINEFADETYPE_FADEOUT,WESTRING_FADETYPEOPTION_FADEOUT
FadeTypeOptionFadeIn=fadetypeoption,bj_CINEFADETYPE_FADEIN,WESTRING_FADETYPEOPTION_FADEIN

// Buff Types
BuffTypeAll=bufftype,bj_REMOVEBUFFS_ALL,WESTRING_BUFFTYPE_ALL
BuffTypePositive=bufftype,bj_REMOVEBUFFS_POSITIVE,WESTRING_BUFFTYPE_POSITIVE
BuffTypeNegative=bufftype,bj_REMOVEBUFFS_NEGATIVE,WESTRING_BUFFTYPE_NEGATIVE

// Camera Bounds Adjustment Type
CameraBoundsAdjustAdd=cameraboundsadjusttype,bj_CAMERABOUNDS_ADJUST_ADD,WESTRING_CAMERABOUNDSADJUST_ADD
CameraBoundsAdjustSub=cameraboundsadjusttype,bj_CAMERABOUNDS_ADJUST_SUB,WESTRING_CAMERABOUNDSADJUST_SUB

// Availability Option
AvailableOptionAvailable=availableoption,true,WESTRING_AVAILABLEOPTION_AVAILABLE
AvailableOptionUnavailable=availableoption,false,WESTRING_AVAILABLEOPTION_UNAVAILABLE

// Explode Option
ExplodeDontExplode=explodedontoption,true,WESTRING_EXPLODEDONTOPTION_EXPLODE
ExplodeDontDont=explodedontoption,false,WESTRING_EXPLODEDONTOPTION_DONT

// SuspendResume Option
SuspendResumeSuspend=suspendresumeoption,true,WESTRING_SUSPENDRESUMEOPTION_SUSPEND
SuspendResumeResume=suspendresumeoption,true,WESTRING_SUSPENDRESUMEOPTION_RESUME

// Mission Index
// Tutorial
MissionIndexT00=missionindex,bj_MISSION_INDEX_T00,WESTRING_MISSION_INDEX_T00
MissionIndexT01=missionindex,bj_MISSION_INDEX_T01,WESTRING_MISSION_INDEX_T01
// Human
MissionIndexH00=missionindex,bj_MISSION_INDEX_H00,WESTRING_MISSION_INDEX_H00
MissionIndexH01=missionindex,bj_MISSION_INDEX_H01,WESTRING_MISSION_INDEX_H01
MissionIndexH02=missionindex,bj_MISSION_INDEX_H02,WESTRING_MISSION_INDEX_H02
MissionIndexH03=missionindex,bj_MISSION_INDEX_H03,WESTRING_MISSION_INDEX_H03
MissionIndexH04=missionindex,bj_MISSION_INDEX_H04,WESTRING_MISSION_INDEX_H04
MissionIndexH05=missionindex,bj_MISSION_INDEX_H05,WESTRING_MISSION_INDEX_H05
MissionIndexH06=missionindex,bj_MISSION_INDEX_H06,WESTRING_MISSION_INDEX_H06
MissionIndexH07=missionindex,bj_MISSION_INDEX_H07,WESTRING_MISSION_INDEX_H07
MissionIndexH08=missionindex,bj_MISSION_INDEX_H08,WESTRING_MISSION_INDEX_H08
MissionIndexH09=missionindex,bj_MISSION_INDEX_H09,WESTRING_MISSION_INDEX_H09
MissionIndexH10=missionindex,bj_MISSION_INDEX_H10,WESTRING_MISSION_INDEX_H10
MissionIndexH11=missionindex,bj_MISSION_INDEX_H11,WESTRING_MISSION_INDEX_H11
// Undead
MissionIndexU00=missionindex,bj_MISSION_INDEX_U00,WESTRING_MISSION_INDEX_U00
MissionIndexU01=missionindex,bj_MISSION_INDEX_U01,WESTRING_MISSION_INDEX_U01
MissionIndexU02=missionindex,bj_MISSION_INDEX_U02,WESTRING_MISSION_INDEX_U02
MissionIndexU03=missionindex,bj_MISSION_INDEX_U03,WESTRING_MISSION_INDEX_U03
MissionIndexU05=missionindex,bj_MISSION_INDEX_U05,WESTRING_MISSION_INDEX_U05
MissionIndexU07=missionindex,bj_MISSION_INDEX_U07,WESTRING_MISSION_INDEX_U07
MissionIndexU08=missionindex,bj_MISSION_INDEX_U08,WESTRING_MISSION_INDEX_U08
MissionIndexU09=missionindex,bj_MISSION_INDEX_U09,WESTRING_MISSION_INDEX_U09
MissionIndexU10=missionindex,bj_MISSION_INDEX_U10,WESTRING_MISSION_INDEX_U10
MissionIndexU11=missionindex,bj_MISSION_INDEX_U11,WESTRING_MISSION_INDEX_U11
// Orc
MissionIndexO00=missionindex,bj_MISSION_INDEX_O00,WESTRING_MISSION_INDEX_O00
MissionIndexO01=missionindex,bj_MISSION_INDEX_O01,WESTRING_MISSION_INDEX_O01
MissionIndexO02=missionindex,bj_MISSION_INDEX_O02,WESTRING_MISSION_INDEX_O02
MissionIndexO03=missionindex,bj_MISSION_INDEX_O03,WESTRING_MISSION_INDEX_O03
MissionIndexO04=missionindex,bj_MISSION_INDEX_O04,WESTRING_MISSION_INDEX_O04
MissionIndexO05=missionindex,bj_MISSION_INDEX_O05,WESTRING_MISSION_INDEX_O05
MissionIndexO06=missionindex,bj_MISSION_INDEX_O06,WESTRING_MISSION_INDEX_O06
MissionIndexO07=missionindex,bj_MISSION_INDEX_O07,WESTRING_MISSION_INDEX_O07
MissionIndexO08=missionindex,bj_MISSION_INDEX_O08,WESTRING_MISSION_INDEX_O08
MissionIndexO09=missionindex,bj_MISSION_INDEX_O09,WESTRING_MISSION_INDEX_O09
MissionIndexO10=missionindex,bj_MISSION_INDEX_O10,WESTRING_MISSION_INDEX_O10
// Night Elf
MissionIndexN00=missionindex,bj_MISSION_INDEX_N00,WESTRING_MISSION_INDEX_N00
MissionIndexN01=missionindex,bj_MISSION_INDEX_N01,WESTRING_MISSION_INDEX_N01
MissionIndexN02=missionindex,bj_MISSION_INDEX_N02,WESTRING_MISSION_INDEX_N02
MissionIndexN03=missionindex,bj_MISSION_INDEX_N03,WESTRING_MISSION_INDEX_N03
MissionIndexN04=missionindex,bj_MISSION_INDEX_N04,WESTRING_MISSION_INDEX_N04
MissionIndexN05=missionindex,bj_MISSION_INDEX_N05,WESTRING_MISSION_INDEX_N05
MissionIndexN06=missionindex,bj_MISSION_INDEX_N06,WESTRING_MISSION_INDEX_N06
MissionIndexN07=missionindex,bj_MISSION_INDEX_N07,WESTRING_MISSION_INDEX_N07

// Campaign Index
CampaignIndexT=campaignindex,bj_CAMPAIGN_INDEX_T,WESTRING_CAMPAIGN_INDEX_T
CampaignIndexH=campaignindex,bj_CAMPAIGN_INDEX_H,WESTRING_CAMPAIGN_INDEX_H
CampaignIndexU=campaignindex,bj_CAMPAIGN_INDEX_U,WESTRING_CAMPAIGN_INDEX_U
CampaignIndexO=campaignindex,bj_CAMPAIGN_INDEX_O,WESTRING_CAMPAIGN_INDEX_O
CampaignIndexN=campaignindex,bj_CAMPAIGN_INDEX_N,WESTRING_CAMPAIGN_INDEX_N

// Cinematic Index
CinematicIndexTOP=cinematicindex,bj_CINEMATICINDEX_TOP,WESTRING_CINEMATICTYPE_TOP
CinematicIndexHOP=cinematicindex,bj_CINEMATICINDEX_HOP,WESTRING_CINEMATICTYPE_HOP
CinematicIndexHED=cinematicindex,bj_CINEMATICINDEX_HED,WESTRING_CINEMATICTYPE_HED
CinematicIndexUED=cinematicindex,bj_CINEMATICINDEX_UED,WESTRING_CINEMATICTYPE_UED
CinematicIndexOED=cinematicindex,bj_CINEMATICINDEX_OED,WESTRING_CINEMATICTYPE_OED
CinematicIndexNED=cinematicindex,bj_CINEMATICINDEX_NED,WESTRING_CINEMATICTYPE_NED

// Trigger Unit-Targeted Unit Orders
// Common
UnitOrderAttackUnit=unitorderutarg,`attack`,WESTRING_UNITORDERUTARG_ATTACK
UnitOrderAttackUnitOnce=unitorderutarg,`attackonce`,WESTRING_UNITORDERUTARG_ATTACKONCE
UnitOrderMoveUnit=unitorderutarg,`move`,WESTRING_UNITORDERUTARG_MOVE
UnitOrderHarvest=unitorderutarg,`harvest`,WESTRING_UNITORDERUTARG_HARVEST
UnitOrderRevive=unitorderutarg,`revive`,WESTRING_UNITORDERUTARG_REVIVE
UnitOrderLoad=unitorderutarg,`load`,WESTRING_UNITORDERUTARG_LOAD
UnitOrderUnload=unitorderutarg,`unload`,WESTRING_UNITORDERUTARG_UNLOAD
UnitOrderBoard=unitorderutarg,`board`,WESTRING_UNITORDERUTARG_BOARD
UnitOrderForceBoard=unitorderutarg,`forceboard`,WESTRING_UNITORDERUTARG_FORCEBOARD
// Human
UnitOrderRepair=unitorderutarg,`repair`,WESTRING_UNITORDERUTARG_REPAIR
UnitOrderInnerFire=unitorderutarg,`innerfire`,WESTRING_UNITORDERUTARG_INNERFIRE
UnitOrderDispel=unitorderutarg,`dispel`,WESTRING_UNITORDERUTARG_DISPEL
UnitOrderHeal=unitorderutarg,`heal`,WESTRING_UNITORDERUTARG_HEAL
UnitOrderSlow=unitorderutarg,`slow`,WESTRING_UNITORDERUTARG_SLOW
UnitOrderInvisibility=unitorderutarg,`invisibility`,WESTRING_UNITORDERUTARG_INVISIBILITY
UnitOrderPolymorph=unitorderutarg,`polymorph`,WESTRING_UNITORDERUTARG_POLYMORPH
UnitOrderMassTeleport=unitorderutarg,`massteleport`,WESTRING_UNITORDERUTARG_MASSTELEPORT
UnitOrderHolyBolt=unitorderutarg,`holybolt`,WESTRING_UNITORDERUTARG_HOLYBOLT
UnitOrderThunderBolt=unitorderutarg,`thunderbolt`,WESTRING_UNITORDERUTARG_THUNDERBOLT
// Orc
UnitOrderRepairO=unitorderutarg,`repair`,WESTRING_UNITORDERUTARG_REPAIRO
UnitOrderEnsnare=unitorderutarg,`ensnare`,WESTRING_UNITORDERUTARG_ENSNARE
UnitOrderPurge=unitorderutarg,`purge`,WESTRING_UNITORDERUTARG_PURGE
UnitOrderLightningShield=unitorderutarg,`lightningshield`,WESTRING_UNITORDERUTARG_LIGHTNINGSHIELD
UnitOrderBloodlust=unitorderutarg,`bloodlust`,WESTRING_UNITORDERUTARG_BLOODLUST
UnitOrderDevour=unitorderutarg,`devour`,WESTRING_UNITORDERUTARG_DEVOUR
UnitOrderChainLightning=unitorderutarg,`chainlightning`,WESTRING_UNITORDERUTARG_CHAINLIGHTNING
// Night Elf
UnitOrderRenew=unitorderutarg,`renew`,WESTRING_UNITORDERUTARG_RENEW
UnitOrderEntangle=unitorderutarg,`entangle`,WESTRING_UNITORDERUTARG_ENTANGLE
UnitOrderEntangleInstant=unitorderutarg,`entangleinstant`,WESTRING_UNITORDERUTARG_ENTANGLEINSTANT
UnitOrderReplenish=unitorderutarg,`replenish`,WESTRING_UNITORDERUTARG_REPLENISH
UnitOrderMountHippogryph=unitorderutarg,`mounthippogryph`,WESTRING_UNITORDERUTARG_MOUNTHIPPOGRYPH
UnitOrderLoadArcher=unitorderutarg,`loadarcher`,WESTRING_UNITORDERUTARG_LOADARCHER
UnitOrderAutoDispel=unitorderutarg,`autodispel`,WESTRING_UNITORDERUTARG_AUTODISPEL
UnitOrderFaerieFire=unitorderutarg,`faeriefire`,WESTRING_UNITORDERUTARG_FAERIEFIRE
UnitOrderCyclone=unitorderutarg,`cyclone`,WESTRING_UNITORDERUTARG_CYCLONE
UnitOrderRejuvination=unitorderutarg,`rejuvination`,WESTRING_UNITORDERUTARG_REJUVINATION
UnitOrderManaBurn=unitorderutarg,`manaburn`,WESTRING_UNITORDERUTARG_MANABURN
UnitOrderEntanglingRoots=unitorderutarg,`entanglingroots`,WESTRING_UNITORDERUTARG_ENTANGLINGROOTS
// Undead
UnitOrderRestoration=unitorderutarg,`restoration`,WESTRING_UNITORDERUTARG_RESTORE
UnitOrderSacrificeAcolyte=unitorderutarg,`sacrifice`,WESTRING_UNITORDERUTARG_SACRIFICEACOLYTE
UnitOrderSacrifice=unitorderutarg,`sacrifice`,WESTRING_UNITORDERUTARG_SACRIFICE
UnitOrderUnsummon=unitorderutarg,`unsummon`,WESTRING_UNITORDERUTARG_UNSUMMON
UnitOrderWeb=unitorderutarg,`web`,WESTRING_UNITORDERUTARG_WEB
UnitOrderRaiseDead=unitorderutarg,`raisedead`,WESTRING_UNITORDERUTARG_RAISEDEAD
UnitOrderUnholyFrenzy=unitorderutarg,`unholyfrenzy`,WESTRING_UNITORDERUTARG_UNHOLYFRENZY
UnitOrderCripple=unitorderutarg,`cripple`,WESTRING_UNITORDERUTARG_CRIPPLE
UnitOrderCurse=unitorderutarg,`curse`,WESTRING_UNITORDERUTARG_CURSE
UnitOrderAntiMagicShell=unitorderutarg,`antimagicshell`,WESTRING_UNITORDERUTARG_ANTIMAGICSHELL
UnitOrderPossession=unitorderutarg,`possession`,WESTRING_UNITORDERUTARG_POSSESSION
UnitOrderDeathCoil=unitorderutarg,`deathcoil`,WESTRING_UNITORDERUTARG_DEATHCOIL
UnitOrderDeathPact=unitorderutarg,`deathpact`,WESTRING_UNITORDERUTARG_DEATHPACT
UnitOrderSleep=unitorderutarg,`sleep`,WESTRING_UNITORDERUTARG_SLEEP
UnitOrderFrostNova=unitorderutarg,`frostnova`,WESTRING_UNITORDERUTARG_FROSTNOVA
UnitOrderFrostArmor=unitorderutarg,`frostarmor`,WESTRING_UNITORDERUTARG_FROSTARMOR
UnitOrderDarkRitual=unitorderutarg,`darkritual`,WESTRING_UNITORDERUTARG_DARKRITUAL
// Neutral
// Special
UnitOrderFingerOfDeath=unitorderutarg,`fingerofdeath`,WESTRING_UNITORDERUTARG_FINGEROFDEATH
UnitOrderDarkConversion=unitorderutarg,`darkconversion`,WESTRING_UNITORDERUTARG_DARKCONVERSION
UnitOrderSoulPreservation=unitorderutarg,`soulpreservation`,WESTRING_UNITORDERUTARG_SOULPRESERVATION
UnitOrderDarkConversionFast=unitorderutarg,`darkconversion`,WESTRING_UNITORDERUTARG_DARKCONVERSIONFAST

// Trigger Point-Targeted Unit Orders
// Common
UnitOrderAttack=unitorderptarg,`attack`,WESTRING_UNITORDERPTARG_ATTACK
UnitOrderAttackGround=unitorderptarg,`attackground`,WESTRING_UNITORDERPTARG_ATTACKGROUND
UnitOrderMove=unitorderptarg,`move`,WESTRING_UNITORDERPTARG_MOVE
UnitOrderPatrol=unitorderptarg,`patrol`,WESTRING_UNITORDERPTARG_PATROL
UnitOrderSetRally=unitorderptarg,`setrally`,WESTRING_UNITORDERPTARG_SETRALLY
UnitOrderUnloadAll=unitorderptarg,`unloadall`,WESTRING_UNITORDERPTARG_UNLOADALL
// Human
UnitOrderFlare=unitorderptarg,`flare`,WESTRING_UNITORDERPTARG_FLARE
UnitOrderBlizzard=unitorderptarg,`blizzard`,WESTRING_UNITORDERPTARG_BLIZZARD
// Orc
UnitOrderSentryWard=unitorderptarg,`evileye`,WESTRING_UNITORDERPTARG_SENTRYWARD
UnitOrderStasisTrap=unitorderptarg,`stasistrap`,WESTRING_UNITORDERPTARG_STASISTRAP
UnitOrderHealingWard=unitorderptarg,`healingward`,WESTRING_UNITORDERPTARG_HEALINGWARD
UnitOrderFarSight=unitorderptarg,`farsight`,WESTRING_UNITORDERPTARG_FARSIGHT
UnitOrderEarthquake=unitorderptarg,`earthquake`,WESTRING_UNITORDERPTARG_EARTHQUAKE
UnitOrderShockwave=unitorderptarg,`shockwave`,WESTRING_UNITORDERPTARG_SHOCKWAVE
// Night Elf
UnitOrderRoot=unitorderptarg,`root`,WESTRING_UNITORDERPTARG_ROOT
UnitOrderDetonate=unitorderptarg,`detonate`,WESTRING_UNITORDERPTARG_DETONATE
UnitOrderForceOfNature=unitorderptarg,`forceofnature`,WESTRING_UNITORDERPTARG_FORCEOFNATURE
UnitOrderStarfall=unitorderptarg,`rainoffire`,WESTRING_UNITORDERPTARG_STARFALL
// Undead
UnitOrderCarrionSwarm=unitorderptarg,`carrionswarm`,WESTRING_UNITORDERPTARG_CARRIONSWARM
UnitOrderDarkSummoning=unitorderptarg,`dreadlordinferno`,WESTRING_UNITORDERPTARG_DARKSUMMONING
UnitOrderDeathAndDecay=unitorderptarg,`deathanddecay`,WESTRING_UNITORDERPTARG_DEATHANDDECAY
// Neutral
UnitOrderSelfDestruct=unitorderptarg,`selfdestruct`,WESTRING_UNITORDERPTARG_SELFDESTRUCT
// Special
UnitOrderDarkPortal=unitorderptarg,`darkportal`,WESTRING_UNITORDERPTARG_DARKPORTAL
UnitOrderRainOfChaos=unitorderptarg,`rainoffire`,WESTRING_UNITORDERPTARG_RAINOFCHAOS
UnitOrderRainOfFire=unitorderptarg,`rainoffire`,WESTRING_UNITORDERPTARG_RAINOFFIRE
UnitOrderInferno=unitorderptarg,`inferno`,WESTRING_UNITORDERPTARG_INFERNO
UnitOrderDarkSummoningOld=unitorderptarg,`darksummoning`,WESTRING_UNITORDERPTARG_DARKSUMMONINGOLD

// Trigger Destructible-Targeted Unit Orders
// Common
UnitOrderAttackDestructible=unitorderdtarg,`attack`,WESTRING_UNITORDERDTARG_ATTACK
UnitOrderHarvestDestructible=unitorderdtarg,`harvest`,WESTRING_UNITORDERDTARG_HARVEST
// Human
// Orc
// Night Elf
UnitOrderConsumeTree=unitorderdtarg,`eattree`,WESTRING_UNITORDERDTARG_CONSUMETREE
UnitOrderSentinel=unitorderdtarg,`sentinel`,WESTRING_UNITORDERDTARG_SENTINEL
// Undead
// Neutral
// Special

// Trigger Immediate / Untargeted Unit Orders
// Common
UnitOrderStop=unitordernotarg,`stop`,WESTRING_UNITORDERNOTARG_STOP
UnitOrderHoldPosition=unitordernotarg,`holdposition`,WESTRING_UNITORDERNOTARG_HOLDPOSITION
UnitOrderAutoHarvestGold=unitordernotarg,`autoharvestgold`,WESTRING_UNITORDERNOTARG_AUTOHARVESTGOLD
UnitOrderAutoHarvestLumber=unitordernotarg,`autoharvestlumber`,WESTRING_UNITORDERNOTARG_AUTOHARVESTLUMBER
UnitOrderReturnResources=unitordernotarg,`returnresources`,WESTRING_UNITORDERNOTARG_RETURNRESOURCES
// Human
UnitOrderTownBellOn=unitordernotarg,`townbellon`,WESTRING_UNITORDERNOTARG_TOWNBELLON
UnitOrderTownBellOff=unitordernotarg,`townbelloff`,WESTRING_UNITORDERNOTARG_TOWNBELLOFF
UnitOrderMilitia=unitordernotarg,`militia`,WESTRING_UNITORDERNOTARG_MILITIA
UnitOrderMilitiaOff=unitordernotarg,`militiaoff`,WESTRING_UNITORDERNOTARG_MILITIAOFF
UnitOrderRepairOn=unitordernotarg,`repairon`,WESTRING_UNITORDERNOTARG_REPAIRON
UnitOrderRepairOff=unitordernotarg,`repairoff`,WESTRING_UNITORDERNOTARG_REPAIROFF
UnitOrderDefend=unitordernotarg,`defend`,WESTRING_UNITORDERNOTARG_DEFEND
UnitOrderUnDefend=unitordernotarg,`undefend`,WESTRING_UNITORDERNOTARG_UNDEFEND
UnitOrderHealOn=unitordernotarg,`healon`,WESTRING_UNITORDERNOTARG_HEALON
UnitOrderHealOff=unitordernotarg,`healoff`,WESTRING_UNITORDERNOTARG_HEALOFF
UnitOrderInnerFireOn=unitordernotarg,`innerfireon`,WESTRING_UNITORDERNOTARG_INNERFIREON
UnitOrderInnerFireOff=unitordernotarg,`innerfireoff`,WESTRING_UNITORDERNOTARG_INNERFIREOFF
UnitOrderSlowOn=unitordernotarg,`slowon`,WESTRING_UNITORDERNOTARG_SLOWON
UnitOrderSlowOff=unitordernotarg,`slowoff`,WESTRING_UNITORDERNOTARG_SLOWOFF
UnitOrderWaterElemental=unitordernotarg,`waterelemental`,WESTRING_UNITORDERNOTARG_WATERELEMENTAL
UnitOrderThunderClap=unitordernotarg,`thunderclap`,WESTRING_UNITORDERNOTARG_THUNDERCLAP
UnitOrderAvatar=unitordernotarg,`avatar`,WESTRING_UNITORDERNOTARG_AVATAR
UnitOrderDivineShield=unitordernotarg,`divineshield`,WESTRING_UNITORDERNOTARG_DIVINESHIELD
UnitOrderUnDivineShield=unitordernotarg,`undivineshield`,WESTRING_UNITORDERNOTARG_UNDIVINESHIELD
UnitOrderResurrection=unitordernotarg,`resurrection`,WESTRING_UNITORDERNOTARG_RESURRECTION
// Orc
UnitOrderBattleStations=unitordernotarg,`battlestations`,WESTRING_UNITORDERNOTARG_BATTLESTATIONS
UnitOrderStandDown=unitordernotarg,`standdown`,WESTRING_UNITORDERNOTARG_STANDDOWN
UnitOrderRepairOOn=unitordernotarg,`repairon`,WESTRING_UNITORDERNOTARG_REPAIROON
UnitOrderRepairOOff=unitordernotarg,`repairoff`,WESTRING_UNITORDERNOTARG_REPAIROOFF
UnitOrderBloodlustOn=unitordernotarg,`bloodluston`,WESTRING_UNITORDERNOTARG_BLOODLUSTON
UnitOrderBloodlustOff=unitordernotarg,`bloodlustoff`,WESTRING_UNITORDERNOTARG_BLOODLUSTOFF
UnitOrderWindWalk=unitordernotarg,`windwalk`,WESTRING_UNITORDERNOTARG_WINDWALK
UnitOrderMirrorImage=unitordernotarg,`mirrorimage`,WESTRING_UNITORDERNOTARG_MIRRORIMAGE
UnitOrderWhirlWind=unitordernotarg,`whirlwind`,WESTRING_UNITORDERNOTARG_BLADESTORM
UnitOrderSpiritWolf=unitordernotarg,`spiritwolf`,WESTRING_UNITORDERNOTARG_FERALSPIRIT
UnitOrderStomp=unitordernotarg,`stomp`,WESTRING_UNITORDERNOTARG_WARSTOMP
// Night Elf
UnitOrderUnRoot=unitordernotarg,`unroot`,WESTRING_UNITORDERNOTARG_UNROOT
UnitOrderAmbush=unitordernotarg,`ambush`,WESTRING_UNITORDERNOTARG_HIDE
UnitOrderRenewOn=unitordernotarg,`renewon`,WESTRING_UNITORDERNOTARG_RENEWON
UnitOrderRenewOff=unitordernotarg,`renewoff`,WESTRING_UNITORDERNOTARG_RENEWOFF
UnitOrderAutoDispelOn=unitordernotarg,`autodispelon`,WESTRING_UNITORDERNOTARG_AUTODISPELON
UnitOrderAutoDispelOff=unitordernotarg,`autodispeloff`,WESTRING_UNITORDERNOTARG_AUTODISPELOFF
UnitOrderFaerieFireOn=unitordernotarg,`faeriefireon`,WESTRING_UNITORDERNOTARG_FAERIEFIREON
UnitOrderFaerieFireOff=unitordernotarg,`faeriefireoff`,WESTRING_UNITORDERNOTARG_FAERIEFIREOFF
UnitOrderRavenForm=unitordernotarg,`ravenform`,WESTRING_UNITORDERNOTARG_RAVENFORM
UnitOrderUnRavenForm=unitordernotarg,`unravenform`,WESTRING_UNITORDERNOTARG_UNRAVENFORM
UnitOrderRoar=unitordernotarg,`roar`,WESTRING_UNITORDERNOTARG_ROAR
UnitOrderBearForm=unitordernotarg,`bearform`,WESTRING_UNITORDERNOTARG_BEARFORM
UnitOrderUnBearForm=unitordernotarg,`unbearform`,WESTRING_UNITORDERNOTARG_UNBEARFORM
UnitOrderImmolation=unitordernotarg,`immolation`,WESTRING_UNITORDERNOTARG_IMMOLATION
UnitOrderUnImmolation=unitordernotarg,`unimmolation`,WESTRING_UNITORDERNOTARG_UNIMMOLATION
UnitOrderMetamorphosis=unitordernotarg,`metamorphosis`,WESTRING_UNITORDERNOTARG_METAMORPHOSIS
UnitOrderTranquility=unitordernotarg,`tranquility`,WESTRING_UNITORDERNOTARG_TRANQUILITY
UnitOrderSearingArrows=unitordernotarg,`flamingarrows`,WESTRING_UNITORDERNOTARG_SEARINGARROWS
UnitOrderUnSearingArrows=unitordernotarg,`unflamingarrows`,WESTRING_UNITORDERNOTARG_UNSEARINGARROWS
UnitOrderScout=unitordernotarg,`scout`,WESTRING_UNITORDERNOTARG_SCOUT
// Undead
UnitOrderRestorationOn=unitordernotarg,`restorationon`,WESTRING_UNITORDERNOTARG_RESTOREON
UnitOrderRestorationOff=unitordernotarg,`restorationoff`,WESTRING_UNITORDERNOTARG_RESTOREOFF
UnitOrderCannibalize=unitordernotarg,`cannibalize`,WESTRING_UNITORDERNOTARG_CANNIBALIZE
UnitOrderWebOn=unitordernotarg,`webon`,WESTRING_UNITORDERNOTARG_WEBON
UnitOrderWebOff=unitordernotarg,`weboff`,WESTRING_UNITORDERNOTARG_WEBOFF
UnitOrderLoadCorpse=unitordernotarg,`loadcorpse`,WESTRING_UNITORDERNOTARG_LOADCORPSE
UnitOrderUnloadAllCorpses=unitordernotarg,`unloadallcorpses`,WESTRING_UNITORDERNOTARG_UNLOADALLCORPSES
UnitOrderStoneForm=unitordernotarg,`stoneform`,WESTRING_UNITORDERNOTARG_STONEFORM
UnitOrderUnStoneForm=unitordernotarg,`unstoneform`,WESTRING_UNITORDERNOTARG_UNSTONEFORM
UnitOrderRaiseDeadOn=unitordernotarg,`raisedeadon`,WESTRING_UNITORDERNOTARG_RAISEDEADON
UnitOrderRaiseDeadOff=unitordernotarg,`raisedeadoff`,WESTRING_UNITORDERNOTARG_RAISEDEADOFF
UnitOrderCurseOn=unitordernotarg,`curseon`,WESTRING_UNITORDERNOTARG_CURSEON
UnitOrderCurseOff=unitordernotarg,`curseoff`,WESTRING_UNITORDERNOTARG_CURSEOFF
UnitOrderAnimateDead=unitordernotarg,`animatedead`,WESTRING_UNITORDERNOTARG_ANIMATEDEAD
// Neutral
UnitOrderRevenge=unitordernotarg,`revenge`,WESTRING_UNITORDERNOTARG_REVENGE
// Special
UnitOrderMedivhRavenForm=unitordernotarg,`ravenform`,WESTRING_UNITORDERNOTARG_MEDIVHRAVENFORM
UnitOrderMedivhUnRavenForm=unitordernotarg,`unravenform`,WESTRING_UNITORDERNOTARG_MEDIVHUNRAVENFORM
UnitOrderColdArrows=unitordernotarg,`coldarrows`,WESTRING_UNITORDERNOTARG_COLDARROWS
UnitOrderUnColdArrows=unitordernotarg,`uncoldarrows`,WESTRING_UNITORDERNOTARG_UNCOLDARROWS

// Hero Skills
// Human Archmage
HeroSkillBlizzard=heroskillcode,'AHbz',WESTRING_HEROSKILL_BLIZZARD
HeroSkillWaterElemental=heroskillcode,'AHwe',WESTRING_HEROSKILL_WATERELEMENTAL
HeroSkillBrillianceAura=heroskillcode,'AHab',WESTRING_HEROSKILL_BRILLIANCEAURA
HeroSkillMassTeleport=heroskillcode,'AHmt',WESTRING_HEROSKILL_MASSTELEPORT
// Human Mountain King
HeroSkillStormBolt=heroskillcode,'AHtb',WESTRING_HEROSKILL_STORMBOLT
HeroSkillThunderClap=heroskillcode,'AHtc',WESTRING_HEROSKILL_THUNDERCLAP
HeroSkillBash=heroskillcode,'AHbh',WESTRING_HEROSKILL_BASH
HeroSkillAvatar=heroskillcode,'AHav',WESTRING_HEROSKILL_AVATAR
// Human Paladin
HeroSkillDivineShield=heroskillcode,'AHds',WESTRING_HEROSKILL_DIVINESHIELD
HeroSkillHolyBolt=heroskillcode,'AHhb',WESTRING_HEROSKILL_HOLYBOLT
HeroSkillDevotionAura=heroskillcode,'AHad',WESTRING_HEROSKILL_DEVOTIONAURA
HeroSkillResurrection=heroskillcode,'AHre',WESTRING_HEROSKILL_RESURRECTION
// Orc Blademaster
HeroSkillWindWalk=heroskillcode,'AOwk',WESTRING_HEROSKILL_WINDWALK
HeroSkillMirrorImage=heroskillcode,'AOmi',WESTRING_HEROSKILL_MIRRORIMAGE
HeroSkillCriticalStrike=heroskillcode,'AOcr',WESTRING_HEROSKILL_CRITICALSTRIKE
HeroSkillWhirlwind=heroskillcode,'AOww',WESTRING_HEROSKILL_WHIRLWIND
// Orc Far Seer
HeroSkillChainLightning=heroskillcode,'AOcl',WESTRING_HEROSKILL_CHAINLIGHTNING
HeroSkillFarSight=heroskillcode,'AOfs',WESTRING_HEROSKILL_FARSIGHT
HeroSkillSpiritWolf=heroskillcode,'AOsf',WESTRING_HEROSKILL_SPIRITWOLF
HeroSkillEarthquake=heroskillcode,'AOeq',WESTRING_HEROSKILL_EARTHQUAKE
// Orc Tauren Chieftain
HeroSkillShockwave=heroskillcode,'AOsh',WESTRING_HEROSKILL_SHOCKWAVE
HeroSkillWarStomp=heroskillcode,'AOws',WESTRING_HEROSKILL_WARSTOMP
HeroSkillEnduranceAura=heroskillcode,'AOae',WESTRING_HEROSKILL_ENDURANCEAURA
HeroSkillReincarnation=heroskillcode,'AOre',WESTRING_HEROSKILL_REINCARNATION
// Undead Death Knight
HeroSkillDeathCoil=heroskillcode,'AUdc',WESTRING_HEROSKILL_DEATHCOIL
HeroSkillDeathPact=heroskillcode,'AUdp',WESTRING_HEROSKILL_DEATHPACT
HeroSkillUnholyAura=heroskillcode,'AUau',WESTRING_HEROSKILL_UNHOLYAURA
HeroSkillAnimateDead=heroskillcode,'AUan',WESTRING_HEROSKILL_ANIMATEDEAD
// Undead Dread Lord
HeroSkillCarrionSwarm=heroskillcode,'AUcs',WESTRING_HEROSKILL_CARRIONSWARM
HeroSkillSleep=heroskillcode,'AUsl',WESTRING_HEROSKILL_SLEEP
HeroSkillVampiricAura=heroskillcode,'AUav',WESTRING_HEROSKILL_VAMPIRICAURA
HeroSkillDarkSummoning=heroskillcode,'AUin',WESTRING_HEROSKILL_DARKSUMMONING
// Undead Lich
HeroSkillFrostNova=heroskillcode,'AUfn',WESTRING_HEROSKILL_FROSTNOVA
HeroSkillFrostArmor=heroskillcode,'AUfa',WESTRING_HEROSKILL_FROSTARMOR
HeroSkillDarkRitual=heroskillcode,'AUdr',WESTRING_HEROSKILL_DARKRITUAL
HeroSkillDeathAndDecay=heroskillcode,'AUdd',WESTRING_HEROSKILL_DEATHANDDECAY
// Night Elf Demon Hunter
HeroSkillManaBurn=heroskillcode,'AEmb',WESTRING_HEROSKILL_MANABURN
HeroSkillImmolation=heroskillcode,'AEim',WESTRING_HEROSKILL_IMMOLATION
HeroSkillEvasion=heroskillcode,'AEev',WESTRING_HEROSKILL_EVASION
HeroSkillMetamorphosis=heroskillcode,'AEme',WESTRING_HEROSKILL_METAMORPHOSIS
// Night Elf Keeper of the Grove
HeroSkillEntanglingRoots=heroskillcode,'AEer',WESTRING_HEROSKILL_ENTANGLINGROOTS
HeroSkillForceOfNature=heroskillcode,'AEfn',WESTRING_HEROSKILL_FORCEOFNATURE
HeroSkillThornsAura=heroskillcode,'AEah',WESTRING_HEROSKILL_THORNSAURA
HeroSkillTranquility=heroskillcode,'AEtq',WESTRING_HEROSKILL_TRANQUILITY
// Night Elf Priestess of the Moon
HeroSkillScout=heroskillcode,'AEst',WESTRING_HEROSKILL_SCOUT
HeroSkillSearingArrows=heroskillcode,'AHfa',WESTRING_HEROSKILL_SEARINGARROWS
HeroSkillTrueshotAura=heroskillcode,'AEar',WESTRING_HEROSKILL_TRUESHOTAURA
HeroSkillStarfall=heroskillcode,'AEsf',WESTRING_HEROSKILL_STARFALL
// Special Archimonde
HeroSkillDarkPortal=heroskillcode,'ANdp',WESTRING_HEROSKILL_DARKPORTAL
HeroSkillRainOfChaos=heroskillcode,'ANrc',WESTRING_HEROSKILL_RAINOFCHAOS
HeroSkillArchiBash=heroskillcode,'AHah',WESTRING_HEROSKILL_ARCHIBASH
HeroSkillFingerOfDeath=heroskillcode,'ANfd',WESTRING_HEROSKILL_FINGEROFDEATH
// Special Illidan
HeroSkillIllimorphosis=heroskillcode,'AEIl',WESTRING_HEROSKILL_ILLIMORPHOSIS
// Special Malganis
HeroSkillMalganisSleep=heroskillcode,'ANdc',WESTRING_HEROSKILL_DARKCONVERSION
HeroSkillSoulPreservation=heroskillcode,'ANsl',WESTRING_HEROSKILL_SOULPRESERVATION
// Special Manaroth
HeroSkillManarothReincarnation=heroskillcode,'ANrn',WESTRING_HEROSKILL_MANAROTHREINCARNATION
// Special Sylvanas Windrunner
HeroSkillColdArrows=heroskillcode,'AHca',WESTRING_HEROSKILL_COLDARROWS
// Special Tichondrius
HeroSkillTichondriusInferno=heroskillcode,'SNin',WESTRING_HEROSKILL_TICHONDRIUSINFERNO
// Special Warlock
HeroSkillInfernal=heroskillcode,'ANin',WESTRING_HEROSKILL_INFERNAL
// Special Miscellaneous
HeroSkillMalganisSleepFast=heroskillcode,'SNdc',WESTRING_HEROSKILL_DARKCONVERSIONFAST
HeroSkillDarkSummoningOld=heroskillcode,'AUds',WESTRING_HEROSKILL_DARKSUMMONINGOLD

// Weather Effects
WeatherAshenvaleHeavyRain=weathereffectcode,'RAhr',WESTRING_WEATHER_ASHENVALEHEAVYRAIN
WeatherAshenvaleLightRain=weathereffectcode,'RAlr',WESTRING_WEATHER_ASHENVALELIGHTRAIN
WeatherDalaranShield=weathereffectcode,'MEds',WESTRING_WEATHER_DALARANSHIELD
WeatherDungeonHeavyBlueFog=weathereffectcode,'FDbh',WESTRING_WEATHER_DUNGEONHEAVYBLUEFOG
WeatherDungeonLightBlueFog=weathereffectcode,'FDbl',WESTRING_WEATHER_DUNGEONBLUEFOG
WeatherDungeonHeavyGreenFog=weathereffectcode,'FDgh',WESTRING_WEATHER_DUNGEONHEAVYGREENFOG
WeatherDungeonLightGreenFog=weathereffectcode,'FDgl',WESTRING_WEATHER_DUNGEONGREENFOG
WeatherDungeonHeavyRedFog=weathereffectcode,'FDrh',WESTRING_WEATHER_DUNGEONHEAVYREDFOG
WeatherDungeonLightRedFog=weathereffectcode,'FDrl',WESTRING_WEATHER_DUNGEONREDFOG
WeatherDungeonHeavyWhiteFog=weathereffectcode,'FDwh',WESTRING_WEATHER_DUNGEONHEAVYWHITEFOG
WeatherDungeonLightWhiteFog=weathereffectcode,'FDwl',WESTRING_WEATHER_DUNGEONWHITEFOG
WeatherLordaeronHeavyRain=weathereffectcode,'RLhr',WESTRING_WEATHER_LORDAERONHEAVYRAIN
WeatherLordaeronLightRain=weathereffectcode,'RLlr',WESTRING_WEATHER_LORDAERONLIGHTRAIN
WeatherNorthrendBlizzard=weathereffectcode,'SNbs',WESTRING_WEATHER_NORTHRENDBLIZZARD
WeatherNorthrendHeavySnow=weathereffectcode,'SNhs',WESTRING_WEATHER_NORTHRENDHEAVYSNOW
WeatherNorthrendLightSnow=weathereffectcode,'SNls',WESTRING_WEATHER_NORTHRENDLIGHTSNOW
WeatherRaysOfLight=weathereffectcode,'LRaa',WESTRING_WEATHER_RAYSOFLIGHT
WeatherRaysOfMoonlight=weathereffectcode,'LRma',WESTRING_WEATHER_RAYSOFMOONLIGHT
WeatherHeavyWind=weathereffectcode,'WNcw',WESTRING_WEATHER_WIND



//***************************************************************************
[TriggerEvents]
// Defines events available in the editor
// Key: script event function
// Values: argument types
// Note that the first argument is always a `trigger`, and is excluded here

// Special events not defined in scripts, handled internally by the editor
MapInitializationEvent=nothing
_MapInitializationEvent_Defaults=
_MapInitializationEvent_Category=TC_NOTHING


// Destructible events
TriggerRegisterDeathEvent=destructable
_TriggerRegisterDeathEvent_Defaults=_
_TriggerRegisterDeathEvent_Category=TC_DESTRUCT


// Dialog events
TriggerRegisterDialogEventBJ=dialog
_TriggerRegisterDialogEventBJ_Defaults=_
_TriggerRegisterDialogEventBJ_Category=TC_DIALOG


// Game events
TriggerRegisterGameStateEventTimeOfDay=limitop,real
_TriggerRegisterGameStateEventTimeOfDay_Defaults=LimitOpEqual,12
_TriggerRegisterGameStateEventTimeOfDay_Limits=_,_,0,24
_TriggerRegisterGameStateEventTimeOfDay_Category=TC_GAME

TriggerRegisterVariableEvent=VarAsString_Real,limitop,real
_TriggerRegisterVariableEvent_Defaults=_,LimitOpEqual,0
_TriggerRegisterVariableEvent_Category=TC_GAME

TriggerRegisterShowSkillEventBJ=nothing
_TriggerRegisterShowSkillEventBJ_Defaults=
_TriggerRegisterShowSkillEventBJ_Category=TC_GAME

TriggerRegisterBuildSubmenuEventBJ=nothing
_TriggerRegisterBuildSubmenuEventBJ_Defaults=
_TriggerRegisterBuildSubmenuEventBJ_Category=TC_GAME


// Player events
TriggerRegisterPlayerChatEvent=player,string,chatmatchtype
_TriggerRegisterPlayerChatEvent_Defaults=Player00,_,ChatMatchTypeExact
_TriggerRegisterPlayerChatEvent_Category=TC_PLAYER

TriggerRegisterPlayerEventEndCinematic=player
_TriggerRegisterPlayerEventEndCinematic_Defaults=Player00
_TriggerRegisterPlayerEventEndCinematic_Category=TC_PLAYER

TriggerRegisterPlayerSelectionEventBJ=player,seldeseloption
_TriggerRegisterPlayerSelectionEventBJ_Defaults=Player00,SelDeselOptionSel
_TriggerRegisterPlayerSelectionEventBJ_Category=TC_PLAYER

TriggerRegisterPlayerStateEvent=player,playerstate,limitop,real
_TriggerRegisterPlayerStateEvent_Defaults=Player00,PlayerStateGold,LimitOpGreaterThanOrEqual,1000
_TriggerRegisterPlayerStateEvent_Category=TC_PLAYER

TriggerRegisterPlayerEventAllianceChanged=player
_TriggerRegisterPlayerEventAllianceChanged_Defaults=Player00
_TriggerRegisterPlayerEventAllianceChanged_Category=TC_PLAYER

TriggerRegisterPlayerAllianceChange=player,alliancetype
_TriggerRegisterPlayerAllianceChange_Defaults=Player00,AllianceTypePassive
_TriggerRegisterPlayerAllianceChange_Category=TC_PLAYER

TriggerRegisterPlayerEventVictory=player
_TriggerRegisterPlayerEventVictory_Defaults=Player00
_TriggerRegisterPlayerEventVictory_Category=TC_PLAYER

TriggerRegisterPlayerEventDefeat=player
_TriggerRegisterPlayerEventDefeat_Defaults=Player00
_TriggerRegisterPlayerEventDefeat_Category=TC_PLAYER


// Timer events
TriggerRegisterTimerEventSingle=real
_TriggerRegisterTimerEventSingle_Defaults=5
_TriggerRegisterTimerEventSingle_Limits=0,_
_TriggerRegisterTimerEventSingle_Category=TC_TIME

TriggerRegisterTimerEventPeriodic=real
_TriggerRegisterTimerEventPeriodic_Defaults=2
_TriggerRegisterTimerEventPeriodic_Limits=0,_
_TriggerRegisterTimerEventPeriodic_Category=TC_TIME

TriggerRegisterTimerExpireEventBJ=timer
_TriggerRegisterTimerExpireEventBJ_Defaults=_
_TriggerRegisterTimerExpireEventBJ_Category=TC_TIME


// Unit events
TriggerRegisterUnitEvent=unit,unitevent
_TriggerRegisterUnitEvent_Defaults=_,UnitEventDeath
_TriggerRegisterUnitEvent_Category=TC_UNIT

TriggerRegisterPlayerUnitEventSimple=player,playerunitevent
_TriggerRegisterPlayerUnitEventSimple_Defaults=Player00,PlayerUnitEventDeath
_TriggerRegisterPlayerUnitEventSimple_Category=TC_UNIT

TriggerRegisterEnterRectSimple=rect
_TriggerRegisterEnterRectSimple_Defaults=_
_TriggerRegisterEnterRectSimple_Category=TC_UNIT

TriggerRegisterLeaveRectSimple=rect
_TriggerRegisterLeaveRectSimple_Defaults=_
_TriggerRegisterLeaveRectSimple_Category=TC_UNIT

TriggerRegisterUnitInRangeSimple=real,unit
_TriggerRegisterUnitInRangeSimple_Defaults=256,_
_TriggerRegisterUnitInRangeSimple_Defaults=0,_,_,_
_TriggerRegisterUnitInRangeSimple_Category=TC_UNIT

TriggerRegisterUnitLifeEvent=unit,limitop,real
_TriggerRegisterUnitLifeEvent_Defaults=_,LimitOpLessThan,50
_TriggerRegisterUnitLifeEvent_Category=TC_UNIT

TriggerRegisterUnitManaEvent=unit,limitop,real
_TriggerRegisterUnitManaEvent_Defaults=_,LimitOpLessThan,50
_TriggerRegisterUnitManaEvent_Category=TC_UNIT



//***************************************************************************
[TriggerConditions]
// Defines boolean condition functions
// Key: condition function name
// Values: argument types

OperatorCompareBoolean=boolean,EqualNotEqualOperator,boolean
_OperatorCompareBoolean_Defaults=IsUnitType,OperatorEqualENE,true
_OperatorCompareBoolean_Category=TC_CONDITION

OperatorCompareDestructible=destructable,EqualNotEqualOperator,destructable
_OperatorCompareDestructible_Defaults=_,OperatorEqualENE,_
_OperatorCompareDestructible_Category=TC_CONDITION

OperatorCompareDestructableCode=destructablecode,EqualNotEqualOperator,destructablecode
_OperatorCompareDestructableCode_Defaults=GetDestructableTypeId,OperatorEqualENE,LTlt
_OperatorCompareDestructableCode_Category=TC_CONDITION

OperatorCompareButton=button,EqualNotEqualOperator,button
_OperatorCompareButton_Defaults=GetClickedButtonBJ,OperatorEqualENE,_
_OperatorCompareButton_Category=TC_CONDITION

OperatorCompareGameDifficulty=gamedifficulty,EqualNotEqualOperator,gamedifficulty
_OperatorCompareGameDifficulty_Defaults=GetGameDifficulty,OperatorEqualENE,GameDifficultyNormal
_OperatorCompareGameDifficulty_Category=TC_CONDITION

OperatorCompareGameSpeed=gamespeed,EqualNotEqualOperator,gamespeed
_OperatorCompareGameSpeed_Defaults=GetGameSpeed,OperatorEqualENE,GameSpeedNormal
_OperatorCompareGameSpeed_Category=TC_CONDITION

OperatorCompareHeroSkill=heroskillcode,EqualNotEqualOperator,heroskillcode
_OperatorCompareHeroSkill_Defaults=GetLearnedSkillBJ,OperatorEqualENE,HeroSkillBlizzard
_OperatorCompareHeroSkill_Category=TC_CONDITION

OperatorCompareInteger=integer,ComparisonOperator,integer
_OperatorCompareInteger_Defaults=CountUnitsInGroup,OperatorEqual,0
_OperatorCompareInteger_Category=TC_CONDITION

OperatorCompareItem=item,EqualNotEqualOperator,item
_OperatorCompareItem_Defaults=_,OperatorEqualENE,_
_OperatorCompareItem_Category=TC_CONDITION

OperatorCompareItemCode=itemcode,EqualNotEqualOperator,itemcode
_OperatorCompareItemCode_Defaults=GetItemTypeId,OperatorEqualENE,texp
_OperatorCompareItemCode_Category=TC_CONDITION

OperatorCompareOrderCode=ordercode,EqualNotEqualOperator,ordercode
_OperatorCompareOrderCode_Defaults=GetIssuedOrderIdBJ,OperatorEqualENE,String2OrderIdBJ
_OperatorCompareOrderCode_Category=TC_CONDITION

OperatorComparePlayer=player,EqualNotEqualOperator,player
_OperatorComparePlayer_Defaults=GetOwningPlayer,OperatorEqualENE,Player00
_OperatorComparePlayer_Category=TC_CONDITION

OperatorComparePlayerColor=playercolor,EqualNotEqualOperator,playercolor
_OperatorComparePlayerColor_Defaults=GetPlayerColor,OperatorEqualENE,Color00
_OperatorComparePlayerColor_Category=TC_CONDITION

OperatorComparePlayerControl=mapcontrol,EqualNotEqualOperator,mapcontrol
_OperatorComparePlayerControl_Defaults=GetPlayerController,OperatorEqualENE,MapControlUser
_OperatorComparePlayerControl_Category=TC_CONDITION

OperatorComparePlayerSlotStatus=playerslotstate,EqualNotEqualOperator,playerslotstate
_OperatorComparePlayerSlotStatus_Defaults=GetPlayerSlotState,OperatorEqualENE,PlayerSlotStatePlaying
_OperatorComparePlayerSlotStatus_Category=TC_CONDITION

//OperatorComparePoint=location,EqualNotEqualOperator,location
//_OperatorComparePoint_Defaults=_,OperatorEqualENE,_
//_OperatorComparePoint_Category=TC_CONDITION

OperatorCompareRace=race,EqualNotEqualOperator,race
_OperatorCompareRace_Defaults=GetPlayerRace,OperatorEqualENE,RaceHuman
_OperatorCompareRace_Category=TC_CONDITION

OperatorCompareReal=real,ComparisonOperator,real
_OperatorCompareReal_Defaults=GetUnitStateSwap,OperatorGreaterEq,10
_OperatorCompareReal_Category=TC_CONDITION

//OperatorCompareRegion=rect,EqualNotEqualOperator,rect
//_OperatorCompareRegion_Defaults=_,OperatorEqualENE,_
//_OperatorCompareRegion_Category=TC_CONDITION

OperatorCompareString=string,EqualNotEqualOperator,string
_OperatorCompareString_Defaults=GetEventPlayerChatString,OperatorEqualENE,_
_OperatorCompareString_Category=TC_CONDITION

OperatorCompareTechCode=techcode,EqualNotEqualOperator,techcode
_OperatorCompareTechCode_Defaults=GetResearched,OperatorEqualENE,_
_OperatorCompareTechCode_Category=TC_CONDITION

OperatorCompareTrigger=trigger,EqualNotEqualOperator,trigger
_OperatorCompareTrigger_Defaults=_,OperatorEqualENE,_
_OperatorCompareTrigger_Category=TC_CONDITION

OperatorCompareUnit=unit,EqualNotEqualOperator,unit
_OperatorCompareUnit_Defaults=GetTriggerUnit,OperatorEqualENE,_
_OperatorCompareUnit_Category=TC_CONDITION

OperatorCompareUnitCode=unitcode,EqualNotEqualOperator,unitcode
_OperatorCompareUnitCode_Defaults=GetUnitTypeId,OperatorEqualENE,hfoo
_OperatorCompareUnitCode_Category=TC_CONDITION

GetBooleanAnd=boolcall,boolcall
_GetBooleanAnd_Defaults=_,_
_GetBooleanAnd_Category=TC_CONDITION

GetBooleanOr=boolcall,boolcall
_GetBooleanOr_Defaults=_,_
_GetBooleanOr_Category=TC_CONDITION



//***************************************************************************
[TriggerActions]
// Defines action functions
// Key: action function name
// Values: argument types

DoNothing=nothing
_DoNothing_Defaults=
_DoNothing_Category=TC_NOTHING

CommentString=string
_CommentString_Defaults=_
_CommentString_Category=TC_COMMENT

TriggerSleepAction=real
_TriggerSleepAction_Defaults=2
_TriggerSleepAction_Limits=0,_
_TriggerSleepAction_Category=TC_WAIT

WaitForSoundBJ=sound,real
_WaitForSoundBJ_Defaults=GetLastPlayedSound,0
_WaitForSoundBJ_Category=TC_WAIT


// Specially handled by the editor
SetVariable=AnyGlobal,Null
_SetVariable_Defaults=_,_
_SetVariable_Category=TC_SETVARIABLE


// Specially handled by the editor
ReturnAction=nothing
_ReturnAction_Defaults=
_ReturnAction_Category=TC_SKIPACTIONS


// Specially handled by the editor
IfThenElse=boolexpr,code,code
_IfThenElse_Defaults=_,DoNothing,DoNothing
_IfThenElse_Category=TC_LOGIC

// Specially handled by the editor
ForLoopA=integer,integer,code
_ForLoopA_Defaults=1,10,DoNothing
_ForLoopA_Category=TC_FORLOOP

// Specially handled by the editor
ForLoopB=integer,integer,code
_ForLoopB_Defaults=1,10,DoNothing
_ForLoopB_Category=TC_FORLOOP


// AI actions
StartMeleeAI=player,string
_StartMeleeAI_Defaults=Player00,"map.ai"
_StartMeleeAI_Category=TC_AI

StartCampaignAI=player,string
_StartCampaignAI_Defaults=Player00,"map.ai"
_StartCampaignAI_Category=TC_AI

CommandAI=player,integer,integer
_CommandAI_Defaults=Player00,_,_
_CommandAI_Category=TC_AI

RemoveGuardPosition=unit
_RemoveGuardPosition_Defaults=_
_RemoveGuardPosition_Category=TC_AI

RemoveAllGuardPositions=player
_RemoveAllGuardPositions_Defaults=Player00
_RemoveAllGuardPositions_Category=TC_AI

RecycleGuardPosition=unit
_RecycleGuardPosition_Defaults=_
_RecycleGuardPosition_Category=TC_AI


// Animation actions
SetUnitAnimation=unit,string
_SetUnitAnimation_Defaults=_,"stand"
_SetUnitAnimation_Category=TC_ANIMATION

SetUnitAnimationWithRarity=unit,string,raritycontrol
_SetUnitAnimationWithRarity_Defaults=_,"stand",RarityControlFrequent
_SetUnitAnimationWithRarity_Category=TC_ANIMATION

QueueUnitAnimationBJ=unit,string
_QueueUnitAnimationBJ_Defaults=_,"stand"
_QueueUnitAnimationBJ_Category=TC_ANIMATION

ResetUnitAnimation=unit
_ResetUnitAnimation_Defaults=_
_ResetUnitAnimation_Category=TC_ANIMATION

AddUnitAnimationPropertiesBJ=addremoveoption,string,unit
_AddUnitAnimationPropertiesBJ_Defaults=AddRemoveAdd,"gold",_
_AddUnitAnimationPropertiesBJ_Category=TC_ANIMATION

SetUnitLookAt=unit,unitfacingbone,unit,real,real,real
_SetUnitLookAt_Defaults=_,UnitFacingBoneHead,_,0,0,90
_SetUnitLookAt_Category=TC_ANIMATION

ResetUnitLookAt=unit
_ResetUnitLookAt_Defaults=_
_ResetUnitLookAt_Category=TC_ANIMATION

SetUnitScalePercent=unit,real,real,real
_SetUnitScalePercent_Defaults=_,100,100,100
_SetUnitScalePercent_Limits=_,_,0,_,0,_,0,_
_SetUnitScalePercent_Category=TC_ANIMATION

SetUnitVertexColorBJ=unit,real,real,real,real
_SetUnitVertexColorBJ_Defaults=_,100,100,100,0
_SetUnitVertexColorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_SetUnitVertexColorBJ_Category=TC_ANIMATION

SetUnitTimeScalePercent=unit,real
_SetUnitTimeScalePercent_Defaults=_,100
_SetUnitTimeScalePercent_Limits=_,_,0,_
_SetUnitTimeScalePercent_Category=TC_ANIMATION

SetUnitTurnSpeedBJ=unit,real
_SetUnitTurnSpeedBJ_Defaults=GetTriggerUnit,0.5
_SetUnitTurnSpeedBJ_Limits=_,_,0,1
_SetUnitTurnSpeedBJ_Category=TC_ANIMATION

SetUnitBlendTimeBJ=unit,real
_SetUnitBlendTimeBJ_Defaults=GetTriggerUnit,_
_SetUnitBlendTimeBJ_Category=TC_ANIMATION

SetUnitFlyHeightBJ=unit,real,real
_SetUnitFlyHeightBJ_Defaults=GetTriggerUnit,_,_
_SetUnitFlyHeightBJ_Category=TC_ANIMATION

SetUnitPropWindowBJ=unit,real
_SetUnitPropWindowBJ_Defaults=GetTriggerUnit,_
_SetUnitPropWindowBJ_Category=TC_ANIMATION

SetDestructableAnimationBJ=destructable,string
_SetDestructableAnimationBJ_Defaults=_,"stand"
_SetDestructableAnimationBJ_Category=TC_ANIMATION

QueueDestructableAnimationBJ=destructable,string
_QueueDestructableAnimationBJ_Defaults=_,"stand"
_QueueDestructableAnimationBJ_Category=TC_ANIMATION

SetDoodadAnimationRectBJ=string,doodadcode,rect
_SetDoodadAnimationRectBJ_Defaults="death",_,GetPlayableMapRect
_SetDoodadAnimationRectBJ_Category=TC_ANIMATION

SetDoodadAnimationBJ=string,doodadcode,real,location
_SetDoodadAnimationBJ_Defaults="death",_,128,GetRectCenter
_SetDoodadAnimationBJ_Category=TC_ANIMATION


// Camera actions
CameraSetupApplyForPlayer=cameraapplyoption,camerasetup,player,real
_CameraSetupApplyForPlayer_Defaults=CameraApply,_,Player00,0
_CameraSetupApplyForPlayer_Limits=_,_,_,_,_,_,0,_
_CameraSetupApplyForPlayer_Category=TC_CAMERA

PanCameraToTimedLocForPlayer=player,location,real
_PanCameraToTimedLocForPlayer_Defaults=Player00,GetRectCenter,0
_PanCameraToTimedLocForPlayer_Limits=_,_,_,_,0,_
_PanCameraToTimedLocForPlayer_Category=TC_CAMERA

PanCameraToTimedLocWithZForPlayer=player,location,real,real
_PanCameraToTimedLocWithZForPlayer_Defaults=Player00,GetRectCenter,0,0
_PanCameraToTimedLocWithZForPlayer_Limits=_,_,_,_,_,_,0,_
_PanCameraToTimedLocWithZForPlayer_Category=TC_CAMERA

SmartCameraPanBJ=player,location,real
_SmartCameraPanBJ_Defaults=Player00,GetRectCenter,0.5
_SmartCameraPanBJ_Limits=_,_,_,_,0,_
_SmartCameraPanBJ_Category=TC_CAMERA

SetCameraFieldForPlayer=player,camerafield,real,real
_SetCameraFieldForPlayer_Defaults=Player00,CameraFieldTargetDistance,CameraSetupGetFieldSwap,0
_SetCameraFieldForPlayer_Limits=_,_,_,_,_,_,0,_
_SetCameraFieldForPlayer_Category=TC_CAMERA

SetCameraTargetControllerNoZForPlayer=player,unit,real,real,cameraorientationoption
_SetCameraTargetControllerNoZForPlayer_Defaults=Player00,GetTriggerUnit,0,0,CameraOrientationNormal
_SetCameraTargetControllerNoZForPlayer_Category=TC_CAMERA

SetCameraOrientControllerForPlayerBJ=player,unit,real,real
_SetCameraOrientControllerForPlayerBJ_Defaults=Player00,GetTriggerUnit,0,0
_SetCameraOrientControllerForPlayerBJ_Category=TC_CAMERA

SetCinematicCameraForPlayer=player,string
_SetCinematicCameraForPlayer_Defaults=Player00,"cinematic.mdl"
_SetCinematicCameraForPlayer_Category=TC_CAMERA

StopCameraForPlayerBJ=player
_StopCameraForPlayerBJ_Defaults=Player00
_StopCameraForPlayerBJ_Category=TC_CAMERA

ResetToGameCameraForPlayer=player,real
_ResetToGameCameraForPlayer_Defaults=Player00,0
_ResetToGameCameraForPlayer_Limits=_,_,0,_
_ResetToGameCameraForPlayer_Category=TC_CAMERA

CameraSetSmoothingFactorBJ=real
_CameraSetSmoothingFactorBJ_Defaults=1
_CameraSetSmoothingFactorBJ_Limits=0,_
_CameraSetSmoothingFactorBJ_Category=TC_CAMERA

CameraResetSmoothingFactorBJ=nothing
_CameraResetSmoothingFactorBJ_Defaults=
_CameraResetSmoothingFactorBJ_Category=TC_CAMERA

CameraSetSourceNoiseForPlayer=player,real,real
_CameraSetSourceNoiseForPlayer_Defaults=Player00,10,0.1
_CameraSetSourceNoiseForPlayer_Category=TC_CAMERA

CameraSetTargetNoiseForPlayer=player,real,real
_CameraSetTargetNoiseForPlayer_Defaults=Player00,10,0.1
_CameraSetTargetNoiseForPlayer_Category=TC_CAMERA

CameraClearNoiseForPlayer=player
_CameraClearNoiseForPlayer_Defaults=Player00
_CameraClearNoiseForPlayer_Category=TC_CAMERA

AdjustCameraBoundsForPlayerBJ=cameraboundsadjusttype,player,real,real,real,real
_AdjustCameraBoundsForPlayerBJ_Defaults=CameraBoundsAdjustAdd,Player00,0,0,0,0
_AdjustCameraBoundsForPlayerBJ_Category=TC_CAMERA

SetCameraBoundsToRectForPlayerBJ=player,rect
_SetCameraBoundsToRectForPlayerBJ_Defaults=Player00,_
_SetCameraBoundsToRectForPlayerBJ_Category=TC_CAMERA

SetCameraQuickPositionLocForPlayer=player,location
_SetCameraQuickPositionLocForPlayer_Defaults=Player00,GetRectCenter
_SetCameraQuickPositionLocForPlayer_Category=TC_CAMERA


// Cinematic actions
TransmissionFromUnitWithNameBJ=force,unit,StringExt,sound,StringExt,addsettooption,real,waitdontoption
_TransmissionFromUnitWithNameBJ_Defaults=GetPlayersAll,_,_,SoundNull,_,AddSetToAdd,0,WaitDontWait
_TransmissionFromUnitWithNameBJ_Category=TC_CINEMATIC

TransmissionFromUnitTypeWithNameBJ=force,player,unitcode,StringExt,location,sound,StringExt,addsettooption,real,waitdontoption
_TransmissionFromUnitTypeWithNameBJ_Defaults=GetPlayersAll,Player00,hfoo,_,GetRectCenter,SoundNull,_,AddSetToAdd,0,WaitDontWait
_TransmissionFromUnitTypeWithNameBJ_Category=TC_CINEMATIC

CinematicModeBJ=onoffoption,force
_CinematicModeBJ_Defaults=OnOffOn,GetPlayersAll
_CinematicModeBJ_Category=TC_CINEMATIC

CinematicFadeBJ=fadetypeoption,real,cinefiltertexture,real,real,real,real
_CinematicFadeBJ_Defaults=FadeTypeOptionFadeOutIn,2,CineFilterTextureWhite,0,0,0,0
_CinematicFadeBJ_Limits=_,_,0,_,_,_,0,100,0,100,0,100,0,100
_CinematicFadeBJ_Category=TC_CINEMATIC

CinematicFilterGenericBJ=real,blendmode,cinefiltertexture,real,real,real,real,real,real,real,real
_CinematicFilterGenericBJ_Defaults=2,BlendModeBlend,CineFilterTextureWhite,100,100,100,100,0,0,0,0
_CinematicFilterGenericBJ_Limits=0,_,_,_,_,_,0,100,0,100,0,100,0,100,0,100,0,100,0,100,0,100
_CinematicFilterGenericBJ_Category=TC_CINEMATIC

DisplayCineFilterBJ=showhideoption
_DisplayCineFilterBJ_Defaults=ShowHideHide
_DisplayCineFilterBJ_Category=TC_CINEMATIC

PingMinimapLocForForce=force,location,real
_PingMinimapLocForForce_Defaults=GetPlayersAll,GetRectCenter,1
_PingMinimapLocForForce_Category=TC_CINEMATIC

UnitAddIndicatorBJ=unit,real,real,real,real
_UnitAddIndicatorBJ_Defaults=_,100,100,100,0
_UnitAddIndicatorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_UnitAddIndicatorBJ_Category=TC_CINEMATIC

DestructableAddIndicatorBJ=destructable,real,real,real,real
_DestructableAddIndicatorBJ_Defaults=_,100,100,100,0
_DestructableAddIndicatorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_DestructableAddIndicatorBJ_Category=TC_CINEMATIC

ItemAddIndicatorBJ=item,real,real,real,real
_ItemAddIndicatorBJ_Defaults=_,100,100,100,0
_ItemAddIndicatorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_ItemAddIndicatorBJ_Category=TC_CINEMATIC

ClearTextMessagesBJ=force
_ClearTextMessagesBJ_Defaults=GetPlayersAll
_ClearTextMessagesBJ_Category=TC_CINEMATIC

ShowInterfaceForceOff=force,real
_ShowInterfaceForceOff_Defaults=GetPlayersAll,2
_ShowInterfaceForceOff_Limits=_,_,0,_
_ShowInterfaceForceOff_Category=TC_CINEMATIC

ShowInterfaceForceOn=force,real
_ShowInterfaceForceOn_Defaults=GetPlayersAll,2
_ShowInterfaceForceOn_Limits=_,_,0,_
_ShowInterfaceForceOn_Category=TC_CINEMATIC

SetUserControlForceOff=force
_SetUserControlForceOff_Defaults=GetPlayersAll
_SetUserControlForceOff_Category=TC_CINEMATIC

SetUserControlForceOn=force
_SetUserControlForceOn_Defaults=GetPlayersAll
_SetUserControlForceOn_Category=TC_CINEMATIC

EnableOcclusionBJ=enabledisableoption,force
_EnableOcclusionBJ_Defaults=EnableDisableDisable,GetPlayersAll
_EnableOcclusionBJ_Category=TC_CINEMATIC

EnableWorldFogBoundaryBJ=enabledisableoption,force
_EnableWorldFogBoundaryBJ_Defaults=EnableDisableDisable,GetPlayersAll
_EnableWorldFogBoundaryBJ_Category=TC_CINEMATIC


// Countdown Timer actions
StartTimerBJ=timer,periodicoption,real
_StartTimerBJ_Defaults=_,PeriodicOptionOneTime,30
_StartTimerBJ_Limits=_,_,_,_,0,_
_StartTimerBJ_Category=TC_TIMER

PauseTimerBJ=pauseresumeoption,timer
_PauseTimerBJ_Defaults=PauseResumePause,GetLastCreatedTimerBJ
_PauseTimerBJ_Category=TC_TIMER

CreateTimerDialogBJ=timer,StringExt
_CreateTimerDialogBJ_Defaults=GetLastCreatedTimerBJ,_
_CreateTimerDialogBJ_Category=TC_TIMER

DestroyTimerDialogBJ=timerdialog
_DestroyTimerDialogBJ_Defaults=GetLastCreatedTimerDialogBJ
_DestroyTimerDialogBJ_Category=TC_TIMER

TimerDialogDisplayBJ=showhideoption,timerdialog
_TimerDialogDisplayBJ_Defaults=ShowHideHide,GetLastCreatedTimerDialogBJ
_TimerDialogDisplayBJ_Category=TC_TIMER

TimerDialogSetTitleBJ=timerdialog,StringExt
_TimerDialogSetTitleBJ_Defaults=GetLastCreatedTimerDialogBJ,_
_TimerDialogSetTitleBJ_Category=TC_TIMER

TimerDialogSetTitleColorBJ=timerdialog,real,real,real,real
_TimerDialogSetTitleColorBJ_Defaults=GetLastCreatedTimerDialogBJ,100,100,100,0
_TimerDialogSetTitleColorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_TimerDialogSetTitleColorBJ_Category=TC_TIMER

TimerDialogSetTimeColorBJ=timerdialog,real,real,real,real
_TimerDialogSetTimeColorBJ_Defaults=GetLastCreatedTimerDialogBJ,100,100,100,0
_TimerDialogSetTimeColorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_TimerDialogSetTimeColorBJ_Category=TC_TIMER

//TimerDialogSetSpeedBJ=timerdialog,real
//_TimerDialogSetSpeedBJ_Defaults=GetLastCreatedTimerDialogBJ,1
//_TimerDialogSetSpeedBJ_Category=TC_TIMER


// Destructable actions
CreateDestructableLoc=destructablecode,location,real,real,integer
_CreateDestructableLoc_Defaults=LTlt,GetRectCenter,GetRandomDirectionDeg,1,0
_CreateDestructableLoc_Limits=_,_,_,_,_,_,0,_,0,_
_CreateDestructableLoc_Category=TC_DESTRUCT

CreateDeadDestructableLocBJ=destructablecode,location,real,real,integer
_CreateDeadDestructableLocBJ_Defaults=LTlt,GetRectCenter,GetRandomDirectionDeg,1,0
_CreateDeadDestructableLocBJ_Limits=_,_,_,_,_,_,0,_,0,_
_CreateDeadDestructableLocBJ_Category=TC_DESTRUCT

KillDestructable=destructable
_KillDestructable_Defaults=GetLastCreatedDestructable
_KillDestructable_Category=TC_DESTRUCT

RemoveDestructable=destructable
_RemoveDestructable_Defaults=GetLastCreatedDestructable
_RemoveDestructable_Category=TC_DESTRUCT

DestructableRestoreLife=destructable,real,showhideoption
_DestructableRestoreLife_Defaults=GetLastCreatedDestructable,GetDestructableMaxLife,ShowHideShow
_DestructableRestoreLife_Category=TC_DESTRUCT

SetDestructableLifePercentBJ=destructable,real
_SetDestructableLifePercentBJ_Defaults=GetLastCreatedDestructable,100
_SetDestructableLifePercentBJ_Limits=_,_,0,100
_SetDestructableLifePercentBJ_Category=TC_DESTRUCT

SetDestructableLife=destructable,real
_SetDestructableLife_Defaults=GetLastCreatedDestructable,GetDestructableMaxLife
_SetDestructableLife_Limits=_,_,0,_
_SetDestructableLife_Category=TC_DESTRUCT

SetDestructableMaxLifeBJ=destructable,real
_SetDestructableMaxLifeBJ_Defaults=GetLastCreatedDestructable,100
_SetDestructableMaxLifeBJ_Limits=_,_,0,_
_SetDestructableMaxLifeBJ_Category=TC_DESTRUCT

ModifyGateBJ=gateoperation,destructable
_ModifyGateBJ_Defaults=GateOperationOpen,_
_ModifyGateBJ_Category=TC_DESTRUCT

SetDestructableInvulnerableBJ=destructable,invulnerableoption
_SetDestructableInvulnerableBJ_Defaults=GetLastCreatedDestructable,InvulnerabilityInvulnerable
_SetDestructableInvulnerableBJ_Category=TC_DESTRUCT

EnumDestructablesInRectAll=rect,code
_EnumDestructablesInRectAll_Defaults=GetPlayableMapRect,DoNothing
_EnumDestructablesInRectAll_Category=TC_DESTRUCT

EnumDestructablesInCircleBJ=real,location,code
_EnumDestructablesInCircleBJ_Defaults=256,GetRectCenter,DoNothing
_EnumDestructablesInCircleBJ_Category=TC_DESTRUCT


// Dialog actions
DialogDisplayBJ=showhideoption,dialog,player
_DialogDisplayBJ_Defaults=ShowHideShow,_,Player00
_DialogDisplayBJ_Category=TC_DIALOG

DialogSetMessageBJ=dialog,StringExt
_DialogSetMessageBJ_Defaults=_,_
_DialogSetMessageBJ_Category=TC_DIALOG

DialogAddButtonBJ=dialog,StringExt
_DialogAddButtonBJ_Defaults=_,_
_DialogAddButtonBJ_Category=TC_DIALOG

DialogClearBJ=dialog
_DialogClearBJ_Defaults=_
_DialogClearBJ_Category=TC_DIALOG


// Environment actions
AddWeatherEffectSaveLast=rect,weathereffectcode
_AddWeatherEffectSaveLast_Defaults=GetPlayableMapRect,WeatherAshenvaleHeavyRain
_AddWeatherEffectSaveLast_Category=TC_ENVIRONMENT

EnableWeatherEffect=weathereffect,onoffoption
_EnableWeatherEffect_Defaults=GetLastCreatedWeatherEffect,OnOffOn
_EnableWeatherEffect_Category=TC_ENVIRONMENT

RemoveWeatherEffectBJ=weathereffect
_RemoveWeatherEffectBJ_Defaults=GetLastCreatedWeatherEffect
_RemoveWeatherEffectBJ_Category=TC_ENVIRONMENT

SetSkyModel=skymodelstring
_SetSkyModel_Defaults=SkyModelNone
_SetSkyModel_Category=TC_ENVIRONMENT

SetTerrainFogExBJ=integer,real,real,real,real,real,real
_SetTerrainFogExBJ_Defaults=0,1000,8000,0,100,100,100
_SetTerrainFogExBJ_Limits=0,2,0,_,0,_,0,_,0,100,0,100,0,100
_SetTerrainFogExBJ_Category=TC_ENVIRONMENT

ResetTerrainFogBJ=nothing
_ResetTerrainFogBJ_Defaults=
_ResetTerrainFogBJ_Category=TC_ENVIRONMENT

SetBlightRectBJ=createremoveoption,player,rect
_SetBlightRectBJ_Defaults=CreateRemoveCreate,Player00,GetPlayableMapRect
_SetBlightRectBJ_Category=TC_ENVIRONMENT

SetBlightRadiusLocBJ=createremoveoption,player,location,real
_SetBlightRadiusLocBJ_Defaults=CreateRemoveCreate,Player00,GetRectCenter,512
_SetBlightRadiusLocBJ_Limits=_,_,_,_,_,_,0,_
_SetBlightRadiusLocBJ_Category=TC_ENVIRONMENT


// Game actions
DisplayTextToForce=force,StringExt
_DisplayTextToForce_Defaults=GetPlayersAll,_
_DisplayTextToForce_Category=TC_GAME

DisplayTimedTextToForce=force,real,StringExt
_DisplayTimedTextToForce_Defaults=GetPlayersAll,30,_
_DisplayTimedTextToForce_Limits=_,_,0,_,_,_
_DisplayTimedTextToForce_Category=TC_GAME

PauseGameOn=nothing
_PauseGameOn_Defaults=
_PauseGameOn_Category=TC_GAME

PauseGameOff=nothing
_PauseGameOff_Defaults=
_PauseGameOff_Category=TC_GAME

SetGameSpeed=gamespeed
_SetGameSpeed_Defaults=GameSpeedNormal
_SetGameSpeed_Category=TC_GAME

LockGameSpeedBJ=nothing
_LockGameSpeedBJ_Defaults=
_LockGameSpeedBJ_Category=TC_GAME

UnlockGameSpeedBJ=nothing
_UnlockGameSpeedBJ_Defaults=
_UnlockGameSpeedBJ_Category=TC_GAME

SetMapFlag=mapflag,onoffoption
_SetMapFlag_Defaults=MapFlagUseHandicaps,OnOffOn
_SetMapFlag_Category=TC_GAME

SetTimeOfDay=real
_SetTimeOfDay_Defaults=12
_SetTimeOfDay_Limits=0,24
_SetTimeOfDay_Category=TC_GAME

SetTimeOfDayScalePercentBJ=real
_SetTimeOfDayScalePercentBJ_Defaults=100
_SetTimeOfDayScalePercentBJ_Defaults=0,_
_SetTimeOfDayScalePercentBJ_Category=TC_GAME

UseTimeOfDayBJ=onoffoption
_UseTimeOfDayBJ_Defaults=OnOffOff
_UseTimeOfDayBJ_Category=TC_GAME

ShareEverythingWithTeam=player
_ShareEverythingWithTeam_Defaults=Player00
_ShareEverythingWithTeam_Category=TC_GAME

MakeUnitsPassiveForPlayer=player
_MakeUnitsPassiveForPlayer_Defaults=Player00
_MakeUnitsPassiveForPlayer_Category=TC_GAME

SetNextLevelBJ=string
_SetNextLevelBJ_Defaults="Maps\MapName.w3m"
_SetNextLevelBJ_Category=TC_GAME

CustomVictoryBJ=player,useskipoption,useskipoption
_CustomVictoryBJ_Defaults=Player00,UseSkipOptionUse,UseSkipOptionUse
_CustomVictoryBJ_Category=TC_GAME

CustomDefeatBJ=player,StringExt
_CustomDefeatBJ_Defaults=Player00,WESTRING_PEVENT_DEFEAT_MSG
_CustomDefeatBJ_Category=TC_GAME

SetCampaignMenuRaceBJ=campaignindex
_SetCampaignMenuRaceBJ_Defaults=CampaignIndexH
_SetCampaignMenuRaceBJ_Category=TC_GAME

SetMissionAvailableBJ=enabledisableoption,missionindex
_SetMissionAvailableBJ_Defaults=EnableDisableEnable,MissionIndexH01
_SetMissionAvailableBJ_Category=TC_GAME

SetCampaignAvailableBJ=enabledisableoption,campaignindex
_SetCampaignAvailableBJ_Defaults=EnableDisableEnable,CampaignIndexH
_SetCampaignAvailableBJ_Category=TC_GAME

SetCinematicAvailableBJ=enabledisableoption,cinematicindex
_SetCinematicAvailableBJ_Defaults=EnableDisableEnable,CinematicIndexHED
_SetCinematicAvailableBJ_Category=TC_GAME

ForceUIKeyBJ=player,string
_ForceUIKeyBJ_Defaults=Player00,"A"
_ForceUIKeyBJ_Category=TC_GAME

ForceUICancelBJ=player
_ForceUICancelBJ_Defaults=Player00
_ForceUICancelBJ_Category=TC_GAME

Preload=string
_Preload_Defaults=_
_Preload_Category=TC_GAME

PreloadEnd=real
_PreloadEnd_Defaults=0.5
_PreloadEnd_Category=TC_GAME

Preloader=string
_Preloader_Defaults=
_Preloader_Category=TC_GAME

// Game Cache actions
InitGameCacheBJ=string
_InitGameCacheBJ_Defaults="MapName.w3v"
_InitGameCacheBJ_Category=TC_GAMECACHE

SaveGameCacheBJ=gamecache
_SaveGameCacheBJ_Defaults=GetLastCreatedGameCacheBJ
_SaveGameCacheBJ_Category=TC_GAMECACHE

StoreUnitBJ=unit,string,string,gamecache
_StoreUnitBJ_Defaults=_,_,"Category",GetLastCreatedGameCacheBJ
_StoreUnitBJ_Category=TC_GAMECACHE

StoreRealBJ=real,string,string,gamecache
_StoreRealBJ_Defaults=_,_,"Category",GetLastCreatedGameCacheBJ
_StoreRealBJ_Category=TC_GAMECACHE

StoreIntegerBJ=integer,string,string,gamecache
_StoreIntegerBJ_Defaults=_,_,"Category",GetLastCreatedGameCacheBJ
_StoreIntegerBJ_Category=TC_GAMECACHE

StoreBooleanBJ=boolean,string,string,gamecache
_StoreBooleanBJ_Defaults=_,_,"Category",GetLastCreatedGameCacheBJ
_StoreBooleanBJ_Category=TC_GAMECACHE

RestoreUnitLocFacingAngleBJ=string,string,gamecache,player,location,real
_RestoreUnitLocFacingAngleBJ_Defaults=_,"Category",GetLastCreatedGameCacheBJ,Player00,GetRectCenter,0
_RestoreUnitLocFacingAngleBJ_Category=TC_GAMECACHE

RestoreUnitLocFacingPointBJ=string,string,gamecache,player,location,location
_RestoreUnitLocFacingPointBJ_Defaults=_,"Category",GetLastCreatedGameCacheBJ,Player00,GetRectCenter,GetUnitLoc
_RestoreUnitLocFacingPointBJ_Category=TC_GAMECACHE


// Hero actions
SelectHeroSkill=unit,heroskillcode
_SelectHeroSkill_Defaults=GetTriggerUnit,_
_SelectHeroSkill_Category=TC_HERO

SetHeroLevel=unit,integer,showhideoption
_SetHeroLevel_Defaults=GetTriggerUnit,2,ShowHideHide
_SetHeroLevel_Limits=_,_,1,10,_,_
_SetHeroLevel_Category=TC_HERO

SetHeroXP=unit,integer,showhideoption
_SetHeroXP_Defaults=GetTriggerUnit,4000,ShowHideHide
_SetHeroXP_Limits=_,_,0,_,_,_
_SetHeroXP_Category=TC_HERO

AddHeroXPSwapped=integer,unit,showhideoption
_AddHeroXPSwapped_Defaults=1000,GetTriggerUnit,ShowHideHide
_AddHeroXPSwapped_Category=TC_HERO

SuspendHeroXPBJ=enabledisableoption,unit
_SuspendHeroXPBJ_Defaults=EnableDisableDisable,GetTriggerUnit
_SuspendHeroXPBJ_Category=TC_HERO

SetPlayerHandicapXPBJ=player,real
_SetPlayerHandicapXPBJ_Defaults=Player00,100
_SetPlayerHandicapXPBJ_Limits=_,_,0,_
_SetPlayerHandicapXPBJ_Category=TC_HERO

ReviveHeroLoc=unit,location,showhideoption
_ReviveHeroLoc_Defaults=_,GetRectCenter,ShowHideHide
_ReviveHeroLoc_Category=TC_HERO

UnitAddItemSwapped=item,unit
_UnitAddItemSwapped_Defaults=GetLastCreatedItem,GetTriggerUnit
_UnitAddItemSwapped_Category=TC_HERO

UnitAddItemByIdSwapped=itemcode,unit
_UnitAddItemByIdSwapped_Defaults=texp,GetTriggerUnit
_UnitAddItemByIdSwapped_Category=TC_HERO

UnitRemoveItemSwapped=item,unit
_UnitRemoveItemSwapped_Defaults=_,_
_UnitRemoveItemSwapped_Category=TC_HERO

UnitRemoveItemFromSlotSwapped=integer,unit
_UnitRemoveItemFromSlotSwapped_Defaults=1,_
_UnitRemoveItemFromSlotSwapped_Limits=1,6,_,_
_UnitRemoveItemFromSlotSwapped_Category=TC_HERO

UnitUseItemTarget=unit,item,unit
_UnitUseItemTarget_Defaults=_,GetLastCreatedItem,_
_UnitUseItemTarget_Category=TC_HERO

UnitUseItemPointLoc=unit,item,location
_UnitUseItemPointLoc_Defaults=_,GetLastCreatedItem,GetRectCenter
_UnitUseItemPointLoc_Category=TC_HERO

UnitUseItemDestructable=unit,item,destructable
_UnitUseItemDestructable_Defaults=_,GetLastCreatedItem,_
_UnitUseItemDestructable_Category=TC_HERO

UnitUseItem=unit,item
_UnitUseItem_Defaults=_,GetLastCreatedItem
_UnitUseItem_Category=TC_HERO


// Item actions
CreateItemLoc=itemcode,location
_CreateItemLoc_Defaults=texp,GetRectCenter
_CreateItemLoc_Category=TC_ITEM

RemoveItem=item
_RemoveItem_Defaults=GetLastCreatedItem
_RemoveItem_Category=TC_ITEM

SetItemPositionLoc=item,location
_SetItemPositionLoc_Defaults=GetLastCreatedItem,GetRectCenter
_SetItemPositionLoc_Category=TC_ITEM

SetItemLifeBJ=item,real
_SetItemLifeBJ_Defaults=GetLastCreatedItem,50
_SetItemLifeBJ_Limits=_,_,0,_
_SetItemLifeBJ_Category=TC_ITEM

SetItemInvulnerableBJ=item,invulnerableoption
_SetItemInvulnerableBJ_Defaults=GetLastCreatedItem,InvulnerabilityInvulnerable
_SetItemInvulnerableBJ_Category=TC_ITEM

SetItemDroppableBJ=item,dropnodropoption
_SetItemDroppableBJ_Defaults=GetLastCreatedItem,DropNoDropOptionNoDrop
_SetItemDroppableBJ_Category=TC_ITEM

SetItemDropOnDeathBJ=item,droppableoption
_SetItemDropOnDeathBJ_Defaults=GetLastCreatedItem,DroppableOptionDrop
_SetItemDropOnDeathBJ_Category=TC_ITEM

SetItemPlayerBJ=item,player,colorchangeoption
_SetItemPlayerBJ_Defaults=GetLastCreatedItem,Player00,ChangeColorTrue
_SetItemPlayerBJ_Category=TC_ITEM


// Leaderboard actions
CreateLeaderboardBJ=force,StringExt
_CreateLeaderboardBJ_Defaults=GetPlayersAll,_
_CreateLeaderboardBJ_Category=TC_LEADERBOARD

DestroyLeaderboardBJ=leaderboard
_DestroyLeaderboardBJ_Defaults=GetLastCreatedLeaderboard
_DestroyLeaderboardBJ_Category=TC_LEADERBOARD

LeaderboardSortItemsBJ=leaderboard,leaderboardsortoption,ascendingoption
_LeaderboardSortItemsBJ_Defaults=GetLastCreatedLeaderboard,LeaderboardSortByValue,AscendingOptionDescending
_LeaderboardSortItemsBJ_Category=TC_LEADERBOARD

LeaderboardDisplayBJ=showhideoption,leaderboard
_LeaderboardDisplayBJ_Defaults=ShowHideHide,GetLastCreatedLeaderboard
_LeaderboardDisplayBJ_Category=TC_LEADERBOARD

LeaderboardSetLabelBJ=leaderboard,StringExt
_LeaderboardSetLabelBJ_Defaults=GetLastCreatedLeaderboard,_
_LeaderboardSetLabelBJ_Category=TC_LEADERBOARD

LeaderboardSetLabelColorBJ=leaderboard,real,real,real,real
_LeaderboardSetLabelColorBJ_Defaults=GetLastCreatedLeaderboard,100,100,100,0
_LeaderboardSetLabelColorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_LeaderboardSetLabelColorBJ_Category=TC_LEADERBOARD

LeaderboardSetValueColorBJ=leaderboard,real,real,real,real
_LeaderboardSetValueColorBJ_Defaults=GetLastCreatedLeaderboard,100,100,100,0
_LeaderboardSetValueColorBJ_Limits=_,_,0,100,0,100,0,100,0,100
_LeaderboardSetValueColorBJ_Category=TC_LEADERBOARD

LeaderboardSetStyleBJ=leaderboard,showhideoption,showhideoption,showhideoption,showhideoption
_LeaderboardSetStyleBJ_Defaults=GetLastCreatedLeaderboard,ShowHideShow,ShowHideShow,ShowHideShow,ShowHideShow
_LeaderboardSetStyleBJ_Category=TC_LEADERBOARD

LeaderboardAddItemBJ=player,leaderboard,StringExt,integer
_LeaderboardAddItemBJ_Defaults=Player00,GetLastCreatedLeaderboard,_,0
_LeaderboardAddItemBJ_Category=TC_LEADERBOARD

LeaderboardRemovePlayerItemBJ=player,leaderboard
_LeaderboardRemovePlayerItemBJ_Defaults=Player00,GetLastCreatedLeaderboard
_LeaderboardRemovePlayerItemBJ_Category=TC_LEADERBOARD

LeaderboardSetPlayerItemLabelBJ=player,leaderboard,StringExt
_LeaderboardSetPlayerItemLabelBJ_Defaults=Player00,GetLastCreatedLeaderboard,_
_LeaderboardSetPlayerItemLabelBJ_Category=TC_LEADERBOARD

LeaderboardSetPlayerItemLabelColorBJ=player,leaderboard,real,real,real,real
_LeaderboardSetPlayerItemLabelColorBJ_Defaults=Player00,GetLastCreatedLeaderboard,100,100,100,0
_LeaderboardSetPlayerItemLabelColorBJ_Limits=_,_,_,_,0,100,0,100,0,100,0,100
_LeaderboardSetPlayerItemLabelColorBJ_Category=TC_LEADERBOARD

LeaderboardSetPlayerItemValueBJ=player,leaderboard,integer
_LeaderboardSetPlayerItemValueBJ_Defaults=Player00,GetLastCreatedLeaderboard,0
_LeaderboardSetPlayerItemValueBJ_Category=TC_LEADERBOARD

LeaderboardSetPlayerItemValueColorBJ=player,leaderboard,real,real,real,real
_LeaderboardSetPlayerItemValueColorBJ_Defaults=Player00,GetLastCreatedLeaderboard,100,100,100,0
_LeaderboardSetPlayerItemValueColorBJ_Limits=_,_,_,_,0,100,0,100,0,100,0,100
_LeaderboardSetPlayerItemValueColorBJ_Category=TC_LEADERBOARD

LeaderboardSetPlayerItemStyleBJ=player,leaderboard,showhideoption,showhideoption,showhideoption
_LeaderboardSetPlayerItemStyleBJ_Defaults=Player00,GetLastCreatedLeaderboard,ShowHideShow,ShowHideShow,ShowHideShow
_LeaderboardSetPlayerItemStyleBJ_Category=TC_LEADERBOARD


// Melee Game actions
MeleeStartingVisibility=nothing
_MeleeStartingVisibility_Defaults=
_MeleeStartingVisibility_Category=TC_MELEE

MeleeStartingHeroLimit=nothing
_MeleeStartingHeroLimit_Defaults=
_MeleeStartingHeroLimit_Category=TC_MELEE

MeleeGrantHeroItems=nothing
_MeleeGrantHeroItems_Defaults=
_MeleeGrantHeroItems_Category=TC_MELEE

MeleeStartingResources=nothing
_MeleeStartingResources_Defaults=
_MeleeStartingResources_Category=TC_MELEE

MeleeClearExcessUnits=nothing
_MeleeClearExcessUnits_Defaults=
_MeleeClearExcessUnits_Category=TC_MELEE

MeleeStartingUnits=nothing
_MeleeStartingUnits_Defaults=
_MeleeStartingUnits_Category=TC_MELEE

MeleeStartingAI=nothing
_MeleeStartingAI_Defaults=
_MeleeStartingAI_Category=TC_MELEE

MeleeInitVictoryDefeat=nothing
_MeleeInitVictoryDefeat_Defaults=
_MeleeInitVictoryDefeat_Category=TC_MELEE


// Neutral Unit actions
AddResourceAmountBJ=integer,unit
_AddResourceAmountBJ_Defaults=5000,_
_AddResourceAmountBJ_Category=TC_NEUTRALBUILDING

SetResourceAmount=unit,integer
_SetResourceAmount_Defaults=_,12500
_SetResourceAmount_Limits=_,_,0,_
_SetResourceAmount_Category=TC_NEUTRALBUILDING

BlightGoldMineForPlayer=unit,player
_BlightGoldMineForPlayer_Defaults=_,Player00
_BlightGoldMineForPlayer_Category=TC_NEUTRALBUILDING

WaygateActivateBJ=enabledisableoption,unit
_WaygateActivateBJ_Defaults=EnableDisableEnable,_
_WaygateActivateBJ_Category=TC_NEUTRALBUILDING

WaygateSetDestinationLocBJ=unit,location
_WaygateSetDestinationLocBJ_Defaults=_,GetRectCenter
_WaygateSetDestinationLocBJ_Category=TC_NEUTRALBUILDING


// Player actions
SetPlayerState=player,playerstate,integer
_SetPlayerState_Defaults=Player00,PlayerStateGold,750
_SetPlayerState_Category=TC_PLAYER
_SetPlayerState_ScriptName=SetPlayerStateBJ

AdjustPlayerStateBJ=integer,player,playerstate
_AdjustPlayerStateBJ_Defaults=1000,Player00,PlayerStateGold
_AdjustPlayerStateBJ_Category=TC_PLAYER

SetPlayerFlagBJ=playerflag,onoffoption,player
_SetPlayerFlagBJ_Defaults=PlayerFlagGivesBounty,OnOffOff,PlayerNA
_SetPlayerFlagBJ_Category=TC_PLAYER

SetPlayerAllianceStateBJ=player,player,alliancesetting
_SetPlayerAllianceStateBJ_Defaults=Player00,Player01,AllianceSettingAlliedVision
_SetPlayerAllianceStateBJ_Category=TC_PLAYER

SetPlayerAllianceBJ=player,alliancetype,onoffoption,player
_SetPlayerAllianceBJ_Defaults=Player00,AllianceTypePassive,OnOffOn,Player01
_SetPlayerAllianceBJ_Category=TC_PLAYER

SetPlayerAbilityAvailableBJ=enabledisableoption,abilcode,player
_SetPlayerAbilityAvailableBJ_Defaults=EnableDisableDisable,_,Player00
_SetPlayerAbilityAvailableBJ_Category=TC_PLAYER

SetPlayerUnitAvailableBJ=unitcode,availabilityoption,player
_SetPlayerUnitAvailableBJ_Defaults=hfoo,AvailabilityOptionAvailable,Player00
_SetPlayerUnitAvailableBJ_Category=TC_PLAYER

SetPlayerTechResearchedSwap=techcode,integer,player
_SetPlayerTechResearchedSwap_Defaults=_,0,Player00
_SetPlayerTechResearchedSwap_Limits=_,_,0,_,_,_
_SetPlayerTechResearchedSwap_Category=TC_PLAYER

SetPlayerTechMaxAllowedSwap=techcode,integer,player
_SetPlayerTechMaxAllowedSwap_Defaults=_,0,Player00
_SetPlayerTechMaxAllowedSwap_Limits=_,_,0,_,_,_
_SetPlayerTechMaxAllowedSwap_Category=TC_PLAYER

SetPlayerColorBJ=player,playercolor,playerchangecoloroption
_SetPlayerColorBJ_Defaults=Player00,Color00,PlayerChangeColorChange
_SetPlayerColorBJ_Category=TC_PLAYER

SetPlayerHandicapBJ=player,real
_SetPlayerHandicapBJ_Defaults=Player00,100
_SetPlayerHandicapBJ_Limits=_,_,1,10000
_SetPlayerHandicapBJ_Category=TC_PLAYER

SetPlayerOnScoreScreenBJ=showhideoption,player
_SetPlayerOnScoreScreenBJ_Defaults=ShowHideHide,Player00
_SetPlayerOnScoreScreenBJ_Category=TC_PLAYER


// Player Group actions
ForForce=force,code
_ForForce_Defaults=GetPlayersAll,DoNothing
_ForForce_Category=TC_PLAYERGROUP

ForceAddPlayerSimple=player,force
_ForceAddPlayerSimple_Defaults=Player00,_
_ForceAddPlayerSimple_Category=TC_PLAYERGROUP

ForceRemovePlayerSimple=player,force
_ForceRemovePlayerSimple_Defaults=Player00,_
_ForceRemovePlayerSimple_Category=TC_PLAYERGROUP

ForceClear=force
_ForceClear_Defaults=_
_ForceClear_Category=TC_PLAYERGROUP


// Quest actions
QuestMessageBJ=force,questmessagetype,StringExt
_QuestMessageBJ_Defaults=GetPlayersAll,QuestMessageTypeUpdated,_
_QuestMessageBJ_Category=TC_QUEST

CreateQuestBJ=questtypeoption,StringExt,StringExt,string
_CreateQuestBJ_Defaults=QuestTypeReqDiscovered,_,_,"ReplaceableTextures\CommandButtons\BTNAmbush.blp"
_CreateQuestBJ_Category=TC_QUEST

DestroyQuestBJ=quest
_DestroyQuestBJ_Defaults=GetLastCreatedQuestBJ
_DestroyQuestBJ_Category=TC_QUEST

QuestSetEnabledBJ=enabledisableoption,quest
_QuestSetEnabledBJ_Defaults=EnableDisableDisable,GetLastCreatedQuestBJ
_QuestSetEnabledBJ_Category=TC_QUEST

QuestSetCompletedBJ=quest,completionoption
_QuestSetCompletedBJ_Defaults=GetLastCreatedQuestBJ,CompletionOptionCompleted
_QuestSetCompletedBJ_Category=TC_QUEST

QuestSetFailedBJ=quest,failureoption
_QuestSetFailedBJ_Defaults=GetLastCreatedQuestBJ,FailureOptionFailed
_QuestSetFailedBJ_Category=TC_QUEST

QuestSetDiscoveredBJ=quest,discoveredoption
_QuestSetDiscoveredBJ_Defaults=GetLastCreatedQuestBJ,DiscoveredOptionDiscovered
_QuestSetDiscoveredBJ_Category=TC_QUEST

QuestSetTitleBJ=quest,StringExt
_QuestSetTitleBJ_Defaults=GetLastCreatedQuestBJ,_
_QuestSetTitleBJ_Category=TC_QUEST

QuestSetDescriptionBJ=quest,StringExt
_QuestSetDescriptionBJ_Defaults=GetLastCreatedQuestBJ,_
_QuestSetDescriptionBJ_Category=TC_QUEST

CreateQuestItemBJ=quest,StringExt
_CreateQuestItemBJ_Defaults=GetLastCreatedQuestBJ,_
_CreateQuestItemBJ_Category=TC_QUEST

QuestItemSetCompletedBJ=questitem,completionoption
_QuestItemSetCompletedBJ_Defaults=GetLastCreatedQuestItemBJ,CompletionOptionCompleted
_QuestItemSetCompletedBJ_Category=TC_QUEST

QuestItemSetDescriptionBJ=questitem,StringExt
_QuestItemSetDescriptionBJ_Defaults=GetLastCreatedQuestItemBJ,_
_QuestItemSetDescriptionBJ_Category=TC_QUEST

CreateDefeatConditionBJ=StringExt
_CreateDefeatConditionBJ_Defaults=_
_CreateDefeatConditionBJ_Category=TC_QUEST

DestroyDefeatConditionBJ=defeatcondition
_DestroyDefeatConditionBJ_Defaults=GetLastCreatedDefeatConditionBJ
_DestroyDefeatConditionBJ_Category=TC_QUEST

DefeatConditionSetDescriptionBJ=defeatcondition,StringExt
_DefeatConditionSetDescriptionBJ_Defaults=GetLastCreatedDefeatConditionBJ,_
_DefeatConditionSetDescriptionBJ_Category=TC_QUEST

FlashQuestDialogButtonBJ=nothing
_FlashQuestDialogButtonBJ_Defaults=
_FlashQuestDialogButtonBJ_Category=TC_QUEST


// Region actions
MoveRectToLoc=rect,location
_MoveRectToLoc_Defaults=_,GetRectCenter
_MoveRectToLoc_Category=TC_REGION


// Selection actions
ClearSelection=nothing
_ClearSelection_Defaults=
_ClearSelection_Category=TC_UNITSEL

SelectGroupBJ=group
_SelectGroupBJ_Defaults=_
_SelectGroupBJ_Category=TC_UNITSEL

SelectUnitSingle=unit
_SelectUnitSingle_Defaults=GetTriggerUnit
_SelectUnitSingle_Category=TC_UNITSEL

SelectUnitAdd=unit
_SelectUnitAdd_Defaults=GetTriggerUnit
_SelectUnitAdd_Category=TC_UNITSEL

SelectUnitRemove=unit
_SelectUnitRemove_Defaults=GetTriggerUnit
_SelectUnitRemove_Category=TC_UNITSEL


// Sound actions
PlaySoundBJ=sound
_PlaySoundBJ_Defaults=_
_PlaySoundBJ_Category=TC_SOUND

StopSoundBJ=sound,fadedontoption
_StopSoundBJ_Defaults=_,FadeDontFade
_StopSoundBJ_Category=TC_SOUND

KillSoundWhenDoneBJ=sound
_KillSoundWhenDoneBJ_Defaults=_
_KillSoundWhenDoneBJ_Category=TC_SOUND

SetSoundVolumeBJ=sound,real
_SetSoundVolumeBJ_Defaults=_,100
_SetSoundVolumeBJ_Limits=_,_,0,100
_SetSoundVolumeBJ_Category=TC_SOUND

SetSoundDistanceCutoffBJ=sound,real
_SetSoundDistanceCutoffBJ_Defaults=_,_
_SetSoundDistanceCutoffBJ_Category=TC_SOUND

SetSoundPitchBJ=sound,real
_SetSoundPitchBJ_Defaults=_,_
_SetSoundPitchBJ_Category=TC_SOUND

AttachSoundToUnitBJ=sound,unit
_AttachSoundToUnitBJ_Defaults=_,_
_AttachSoundToUnitBJ_Category=TC_SOUND

SetSoundPositionLocBJ=sound,location,real
_SetSoundPositionLocBJ_Defaults=_,GetRectCenter,0
_SetSoundPositionLocBJ_Category=TC_SOUND

SetSoundDistances=sound,real,real
_SetSoundDistances_Defaults=_,_,_
_SetSoundDistances_Limits=_,_,0,_,0,_
_SetSoundDistances_Category=TC_SOUND

SetStackedSoundBJ=addremoveoption,sound,rect
_SetStackedSoundBJ_Defaults=AddRemoveAdd,_,_
_SetStackedSoundBJ_Category=TC_SOUND

SetAmbientDaySound=ambientthemeday
_SetAmbientDaySound_Defaults=AmbientThemeDayL
_SetAmbientDaySound_Category=TC_SOUND

SetAmbientNightSound=ambientthemenight
_SetAmbientNightSound_Defaults=AmbientThemeNightL
_SetAmbientNightSound_Category=TC_SOUND

EnableDawnDusk=enabledisableoption
_EnableDawnDusk_Defaults=EnableDisableEnable
_EnableDawnDusk_Category=TC_SOUND

SetMapMusicIndexedBJ=musicfile,integer
_SetMapMusicIndexedBJ_Defaults=MusicFileMusic,0
_SetMapMusicIndexedBJ_Category=TC_SOUND

SetMapMusicRandomBJ=musicfile
_SetMapMusicRandomBJ_Defaults=MusicFileMusic
_SetMapMusicRandomBJ_Category=TC_SOUND

ClearMapMusicBJ=nothing
_ClearMapMusicBJ_Defaults=
_ClearMapMusicBJ_Category=TC_SOUND

PlayMusicBJ=musicfile
_PlayMusicBJ_Defaults=_
_PlayMusicBJ_Category=TC_SOUND

PlayThematicMusicBJ=musictheme
_PlayThematicMusicBJ_Defaults=_
_PlayThematicMusicBJ_Category=TC_SOUND

EndThematicMusicBJ=nothing
_EndThematicMusicBJ_Defaults=
_EndThematicMusicBJ_Category=TC_SOUND

StopMusicBJ=fadedontoption
_StopMusicBJ_Defaults=FadeDontFade
_StopMusicBJ_Category=TC_SOUND

ResumeMusicBJ=nothing
_ResumeMusicBJ_Defaults=
_ResumeMusicBJ_Category=TC_SOUND

SetMusicVolumeBJ=real
_SetMusicVolumeBJ_Defaults=100
_SetMusicVolumeBJ_Limits=0,100
_SetMusicVolumeBJ_Category=TC_SOUND

VolumeGroupSetVolumeBJ=volumegroup,real
_VolumeGroupSetVolumeBJ_Defaults=VolumeGroupMusic,100
_VolumeGroupSetVolumeBJ_Limits=_,_,0,100
_VolumeGroupSetVolumeBJ_Category=TC_SOUND

SetCineModeVolumeGroupsBJ=nothing
_SetCineModeVolumeGroupsBJ_Defaults=
_SetCineModeVolumeGroupsBJ_Category=TC_SOUND

SetSpeechVolumeGroupsBJ=nothing
_SetSpeechVolumeGroupsBJ_Defaults=
_SetSpeechVolumeGroupsBJ_Category=TC_SOUND

VolumeGroupResetBJ=nothing
_VolumeGroupResetBJ_Defaults=
_VolumeGroupResetBJ_Category=TC_SOUND


// Special Effect actions
AddSpecialEffectLocBJ=location,string
_AddSpecialEffectLocBJ_Defaults=GetRectCenter,"Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl"
_AddSpecialEffectLocBJ_Category=TC_SPECIALEFFECT

AddSpecialEffectTargetUnitBJ=string,unit,string
_AddSpecialEffectTargetUnitBJ_Defaults="overhead",GetTriggerUnit,"Abilities\Spells\Other\TalkToMe\TalkToMe.mdl"
_AddSpecialEffectTargetUnitBJ_Category=TC_SPECIALEFFECT

DestroyEffectBJ=effect
_DestroyEffectBJ_Defaults=GetLastCreatedEffectBJ
_DestroyEffectBJ_Category=TC_SPECIALEFFECT


// Trigger actions
DisableTrigger=trigger
_DisableTrigger_Defaults=GetTriggeringTrigger
_DisableTrigger_Category=TC_TRIGGER

EnableTrigger=trigger
_EnableTrigger_Defaults=GetTriggeringTrigger
_EnableTrigger_Category=TC_TRIGGER

ConditionalTriggerExecute=trigger
_ConditionalTriggerExecute_Defaults=_
_ConditionalTriggerExecute_Category=TC_TRIGGER

TriggerExecute=trigger
_TriggerExecute_Defaults=_
_TriggerExecute_Category=TC_TRIGGER

QueuedTriggerAddBJ=trigger,checkingignoringoption
_QueuedTriggerAddBJ_Defaults=_,CheckingIgnoringChecking
_QueuedTriggerAddBJ_Category=TC_TRIGGER

QueuedTriggerRemoveBJ=trigger
_QueuedTriggerRemoveBJ_Defaults=GetTriggeringTrigger
_QueuedTriggerRemoveBJ_Category=TC_TRIGGER

QueuedTriggerClearBJ=nothing
_QueuedTriggerClearBJ_Defaults=
_QueuedTriggerClearBJ_Category=TC_TRIGGER

QueuedTriggerClearInactiveBJ=nothing
_QueuedTriggerClearInactiveBJ_Defaults=
_QueuedTriggerClearInactiveBJ_Category=TC_TRIGGER


// Unit actions
CreateNUnitsAtLoc=integer,unitcode,player,location,real
_CreateNUnitsAtLoc_Defaults=1,hfoo,Player00,GetRectCenter,RealUnitFacing
_CreateNUnitsAtLoc_Limits=1,_,_,_,_,_,_,_,0,360
_CreateNUnitsAtLoc_Category=TC_UNIT

CreateNUnitsAtLocFacingLocBJ=integer,unitcode,player,location,location
_CreateNUnitsAtLocFacingLocBJ_Defaults=1,hfoo,Player00,GetRectCenter,GetUnitLoc
_CreateNUnitsAtLocFacingLocBJ_Limits=1,_,_,_,_,_,_,_,_,_
_CreateNUnitsAtLocFacingLocBJ_Category=TC_UNIT

CreateCorpseLocBJ=unitcode,player,location
_CreateCorpseLocBJ_Defaults=hfoo,Player00,GetRectCenter
_CreateCorpseLocBJ_Category=TC_UNIT

KillUnit=unit
_KillUnit_Defaults=GetTriggerUnit
_KillUnit_Category=TC_UNIT

RemoveUnit=unit
_RemoveUnit_Defaults=GetTriggerUnit
_RemoveUnit_Category=TC_UNIT

ExplodeUnitBJ=unit
_ExplodeUnitBJ_Defaults=GetTriggerUnit
_ExplodeUnitBJ_Category=TC_UNIT

ReplaceUnitBJ=unit,unitcode,unitstatemethod
_ReplaceUnitBJ_Defaults=GetTriggerUnit,hfoo,UnitStateMethodRelative
_ReplaceUnitBJ_Category=TC_UNIT

ShowUnitHide=unit
_ShowUnitHide_Defaults=_
_ShowUnitHide_Category=TC_UNIT

ShowUnitShow=unit
_ShowUnitShow_Defaults=_
_ShowUnitShow_Category=TC_UNIT

SetUnitColor=unit,playercolor
_SetUnitColor_Defaults=GetTriggerUnit,Color00
_SetUnitColor_Category=TC_UNIT

SetUnitOwner=unit,player,colorchangeoption
_SetUnitOwner_Defaults=_,Player00,ChangeColorTrue
_SetUnitOwner_Category=TC_UNIT

UnitShareVisionBJ=sharedontoption,unit,player
_UnitShareVisionBJ_Defaults=ShareDontOptionShare,GetTriggerUnit,Player00
_UnitShareVisionBJ_Category=TC_UNIT

SetUnitPositionLoc=unit,location
_SetUnitPositionLoc_Defaults=GetTriggerUnit,GetRectCenter
_SetUnitPositionLoc_Category=TC_UNIT

SetUnitPositionLocFacingBJ=unit,location,real
_SetUnitPositionLocFacingBJ_Defaults=GetTriggerUnit,GetRectCenter,RealUnitFacing
_SetUnitPositionLocFacingBJ_Category=TC_UNIT

SetUnitPositionLocFacingLocBJ=unit,location,location
_SetUnitPositionLocFacingLocBJ_Defaults=GetTriggerUnit,GetRectCenter,GetUnitLoc
_SetUnitPositionLocFacingLocBJ_Category=TC_UNIT

SetUnitLifePercentBJ=unit,real
_SetUnitLifePercentBJ_Defaults=GetTriggerUnit,100
_SetUnitLifePercentBJ_Limits=_,_,0,100
_SetUnitLifePercentBJ_Category=TC_UNIT

SetUnitManaPercentBJ=unit,real
_SetUnitManaPercentBJ_Defaults=GetTriggerUnit,100
_SetUnitManaPercentBJ_Limits=_,_,0,100
_SetUnitManaPercentBJ_Category=TC_UNIT

SetUnitLifeBJ=unit,real
_SetUnitLifeBJ_Defaults=GetTriggerUnit,GetUnitStateSwap
_SetUnitLifeBJ_Defaults=_,_,0,_
_SetUnitLifeBJ_Category=TC_UNIT

SetUnitManaBJ=unit,real
_SetUnitManaBJ_Defaults=GetTriggerUnit,0
_SetUnitManaBJ_Limits=_,_,0,_
_SetUnitManaBJ_Category=TC_UNIT

SetUnitInvulnerable=unit,invulnerableoption
_SetUnitInvulnerable_Defaults=GetTriggerUnit,InvulnerabilityInvulnerable
_SetUnitInvulnerable_Category=TC_UNIT

PauseUnitBJ=pauseunpauseoption,unit
_PauseUnitBJ_Defaults=PauseUnpauseOptionPause,GetTriggerUnit
_PauseUnitBJ_Category=TC_UNIT

PauseAllUnitsBJ=pauseunpauseoption
_PauseAllUnitsBJ_Defaults=PauseUnpauseOptionPause
_PauseAllUnitsBJ_Category=TC_UNIT

SetUnitExplodedBJ=unit,explodedontoption
_SetUnitExplodedBJ_Defaults=GetTriggerUnit,ExplodeDontExplode
_SetUnitExplodedBJ_Category=TC_UNIT

UnitSuspendDecayBJ=suspendresumeoption,unit
_UnitSuspendDecayBJ_Defaults=SuspendResumeSuspend,GetTriggerUnit
_UnitSuspendDecayBJ_Category=TC_UNIT

UnitAddSleepPerm=unit,sleepwakeoption
_UnitAddSleepPerm_Defaults=GetTriggerUnit,SleepWakeOptionSleep
_UnitAddSleepPerm_Category=TC_UNIT

UnitSetCanSleepBJ=unit,sleepwakeoption
_UnitSetCanSleepBJ_Defaults=GetTriggerUnit,SleepWakeOptionSleep
_UnitSetCanSleepBJ_Category=TC_UNIT

UnitWakeUpBJ=unit
_UnitWakeUpBJ_Defaults=GetTriggerUnit
_UnitWakeUpBJ_Category=TC_UNIT

RescueUnitBJ=unit,player,colorchangeoption
_RescueUnitBJ_Defaults=_,Player00,ChangeColorTrue
_RescueUnitBJ_Category=TC_UNIT

MakeUnitRescuableToForceBJ=unit,rescuableoption,force
_MakeUnitRescuableToForceBJ_Defaults=_,RescuableOptionRescuable,Force00
_MakeUnitRescuableToForceBJ_Category=TC_UNIT

SetUnitRescueRange=unit,real
_SetUnitRescueRange_Defaults=_,384
_SetUnitRescueRange_Limits=_,_,0,_
_SetUnitRescueRange_Category=TC_UNIT

SetRescueUnitColorChangeBJ=colorchangeoption
_SetRescueUnitColorChangeBJ_Defaults=ChangeColorFalse
_SetRescueUnitColorChangeBJ_Category=TC_UNIT

SetRescueBuildingColorChangeBJ=colorchangeoption
_SetRescueBuildingColorChangeBJ_Defaults=ChangeColorFalse
_SetRescueBuildingColorChangeBJ_Category=TC_UNIT

SetUnitFacingToFaceUnitTimed=unit,unit,real
_SetUnitFacingToFaceUnitTimed_Defaults=_,_,0
_SetUnitFacingToFaceUnitTimed_Limits=_,_,_,_,0,_
_SetUnitFacingToFaceUnitTimed_Category=TC_UNIT

SetUnitFacingToFaceLocTimed=unit,location,real
_SetUnitFacingToFaceLocTimed_Defaults=_,GetRectCenter,0
_SetUnitFacingToFaceLocTimed_Limits=_,_,_,_,0,_
_SetUnitFacingToFaceLocTimed_Category=TC_UNIT

SetUnitFacingTimed=unit,real,real
_SetUnitFacingTimed_Defaults=_,RealUnitFacing,0
_SetUnitFacingTimed_Limits=_,_,_,_,0,_
_SetUnitFacingTimed_Category=TC_UNIT

SetUnitMoveSpeed=unit,real
_SetUnitMoveSpeed_Defaults=_,GetUnitDefaultMoveSpeed
_SetUnitMoveSpeed_Category=TC_UNIT

SetUnitPathing=unit,pathingoption
_SetUnitPathing_Defaults=_,PathingOff
_SetUnitPathing_Category=TC_UNIT

SetUnitAcquireRangeBJ=unit,real
_SetUnitAcquireRangeBJ_Defaults=_,_
_SetUnitAcquireRangeBJ_Category=TC_UNIT

UnitRemoveBuffsBJ=bufftype,unit
_UnitRemoveBuffsBJ_Defaults=BuffTypeAll,GetTriggerUnit
_UnitRemoveBuffsBJ_Category=TC_UNIT

UnitRemoveAbilityBJ=abilcode,unit
_UnitRemoveAbilityBJ_Defaults=_,GetTriggerUnit
_UnitRemoveAbilityBJ_Category=TC_UNIT

IssueTargetOrder=unit,unitorderutarg,unit
_IssueTargetOrder_Defaults=_,UnitOrderAttackUnit,_
_IssueTargetOrder_Category=TC_UNIT
_IssueTargetOrder_ScriptName=IssueTargetOrderBJ

IssuePointOrderLoc=unit,unitorderptarg,location
_IssuePointOrderLoc_Defaults=_,UnitOrderMove,GetRectCenter
_IssuePointOrderLoc_Category=TC_UNIT
_IssuePointOrderLoc_ScriptName=IssuePointOrderLocBJ

IssueTargetDestructableOrder=unit,unitorderdtarg,destructable
_IssueTargetDestructableOrder_Defaults=_,UnitOrderHarvestDestructible,_
_IssueTargetDestructableOrder_Category=TC_UNIT

IssueImmediateOrder=unit,unitordernotarg
_IssueImmediateOrder_Defaults=_,UnitOrderStop
_IssueImmediateOrder_Category=TC_UNIT
_IssueImmediateOrder_ScriptName=IssueImmediateOrderBJ

IssueTrainOrderByIdBJ=unit,unitcode
_IssueTrainOrderByIdBJ_Defaults=_,hfoo
_IssueTrainOrderByIdBJ_Category=TC_UNIT

IssueUpgradeOrderByIdBJ=unit,techcode
_IssueUpgradeOrderByIdBJ_Defaults=_,Rhde
_IssueUpgradeOrderByIdBJ_Category=TC_UNIT

IssueBuildOrderByIdLocBJ=unit,unitcode,location
_IssueBuildOrderByIdLocBJ_Defaults=_,hbar,GetRectCenter
_IssueBuildOrderByIdLocBJ_Category=TC_UNIT


// Unit Group actions
ForGroup=group,code
_ForGroup_Defaults=GetUnitsInRectAll,DoNothing
_ForGroup_Category=TC_UNITGROUP

GroupAddUnitSimple=unit,group
_GroupAddUnitSimple_Defaults=GetTriggerUnit,_
_GroupAddUnitSimple_Category=TC_UNITGROUP

GroupAddGroup=group,group
_GroupAddGroup_Defaults=_,_
_GroupAddGroup_Category=TC_UNITGROUP

GroupRemoveUnitSimple=unit,group
_GroupRemoveUnitSimple_Defaults=GetTriggerUnit,_
_GroupRemoveUnitSimple_Category=TC_UNITGROUP

GroupRemoveGroup=group,group
_GroupRemoveGroup_Defaults=_,_
_GroupRemoveGroup_Category=TC_UNITGROUP

GroupClear=group
_GroupClear_Defaults=_
_GroupClear_Category=TC_UNITGROUP

GroupTargetOrder=group,unitorderutarg,unit
_GroupTargetOrder_Defaults=GetUnitsInRectAll,UnitOrderAttackUnit,_
_GroupTargetOrder_Category=TC_UNITGROUP
_GroupTargetOrder_ScriptName=GroupTargetOrderBJ

GroupPointOrderLoc=group,unitorderptarg,location
_GroupPointOrderLoc_Defaults=GetUnitsInRectAll,UnitOrderMove,GetRectCenter
_GroupPointOrderLoc_Category=TC_UNITGROUP
_GroupPointOrderLoc_ScriptName=GroupPointOrderLocBJ

GroupTargetDestructableOrder=group,unitorderdtarg,destructable
_GroupTargetDestructableOrder_Defaults=GetUnitsInRectAll,UnitOrderHarvestDestructible,_
_GroupTargetDestructableOrder_Category=TC_UNITGROUP

GroupImmediateOrder=group,unitordernotarg
_GroupImmediateOrder_Defaults=GetUnitsInRectAll,UnitOrderStop
_GroupImmediateOrder_Category=TC_UNITGROUP
_GroupImmediateOrder_ScriptName=GroupImmediateOrderBJ

GroupTrainOrderByIdBJ=group,unitcode
_GroupTrainOrderByIdBJ_Defaults=GetUnitsInRectAll,hfoo
_GroupTrainOrderByIdBJ_Category=TC_UNITGROUP


// Visibility actions
FogEnableOn=nothing
_FogEnableOn_Defaults=
_FogEnableOn_Category=TC_VISIBILITY

FogEnableOff=nothing
_FogEnableOff_Defaults=
_FogEnableOff_Category=TC_VISIBILITY

FogMaskEnableOn=nothing
_FogMaskEnableOn_Defaults=
_FogMaskEnableOn_Category=TC_VISIBILITY

FogMaskEnableOff=nothing
_FogMaskEnableOff_Defaults=
_FogMaskEnableOff_Category=TC_VISIBILITY

CreateFogModifierRectBJ=enableddisabledoption,player,fogstate,rect
_CreateFogModifierRectBJ_Defaults=EnabledDisabledEnabled,Player00,FogStateVisible,GetPlayableMapRect
_CreateFogModifierRectBJ_Category=TC_VISIBILITY

CreateFogModifierRadiusLocBJ=enableddisabledoption,player,fogstate,location,real
_CreateFogModifierRadiusLocBJ_Defaults=EnabledDisabledEnabled,Player00,FogStateVisible,GetRectCenter,512
_CreateFogModifierRadiusLocBJ_Defaults=_,_,_,_,_,_,_,_,0,_
_CreateFogModifierRadiusLocBJ_Category=TC_VISIBILITY

FogModifierStart=fogmodifier
_FogModifierStart_Defaults=GetLastCreatedFogModifier
_FogModifierStart_Category=TC_VISIBILITY

FogModifierStop=fogmodifier
_FogModifierStop_Defaults=GetLastCreatedFogModifier
_FogModifierStop_Category=TC_VISIBILITY

DestroyFogModifier=fogmodifier
_DestroyFogModifier_Defaults=GetLastCreatedFogModifier
_DestroyFogModifier_Category=TC_VISIBILITY


// Obsolete actions
//AddPerfLogLabel=string
//_AddPerfLogLabel_Defaults="Triggered Debug Label"
//_AddPerfLogLabel_Category=TC_OBSOLETE

//Cheat=string
//_Cheat_Defaults="warnings"
//_Cheat_Category=TC_OBSOLETE



//***************************************************************************
[TriggerCalls]
// Defines function calls which may be used as parameter values
// Key: Function name
// Value 0: flag (0 or 1) indicating if the call can be used in events
// Value 1: return type
// Value 2+: argument types
//
// Note: Operators are specially handled by the editor

// returns boolean
IsDestructableAliveBJ=0,boolean,destructable
_IsDestructableAliveBJ_Defaults=GetLastCreatedDestructable
_IsDestructableAliveBJ_Category=TC_DESTRUCT

IsDestructableDeadBJ=0,boolean,destructable
_IsDestructableDeadBJ_Defaults=GetLastCreatedDestructable
_IsDestructableDeadBJ_Category=TC_DESTRUCT

IsDestructableInvulnerableBJ=0,boolean,destructable
_IsDestructableInvulnerableBJ_Defaults=GetLastCreatedDestructable
_IsDestructableInvulnerableBJ_Category=TC_DESTRUCT

IsMapFlagSet=1,boolean,mapflag
_IsMapFlagSet_Defaults=MapFlagUseHandicaps
_IsMapFlagSet_Category=TC_GAME

GetStoredBooleanBJ=0,boolean,string,string,gamecache
_GetStoredBooleanBJ_Defaults=_,"Category",GetLastCreatedGameCacheBJ
_GetStoredBooleanBJ_Category=TC_GAMECACHE

UnitHasItem=1,boolean,unit,item
_UnitHasItem_Defaults=GetTriggerUnit,GetLastCreatedItem
_UnitHasItem_Category=TC_HERO

UnitHasItemOfTypeBJ=1,boolean,unit,itemcode
_UnitHasItemOfTypeBJ_Defaults=GetTriggerUnit,texp
_UnitHasItemOfTypeBJ_Category=TC_HERO

IsSuspendedXP=0,boolean,unit
_IsSuspendedXP_Defaults=GetTriggerUnit
_IsSuspendedXP_Category=TC_HERO

IsItemInvulnerable=0,boolean,item
_IsItemInvulnerable_Defaults=GetLastCreatedItem
_IsItemInvulnerable_Category=TC_ITEM

LeaderboardHasPlayerItemBJ=0,boolean,leaderboard,player
_LeaderboardHasPlayerItemBJ_Defaults=GetLastCreatedLeaderboard,Player00
_LeaderboardHasPlayerItemBJ_Category=TC_LEADERBOARD

WaygateIsActiveBJ=0,boolean,unit
_WaygateIsActiveBJ_Defaults=_
_WaygateIsActiveBJ_Category=TC_NEUTRALBUILDING

IsPlayerFlagSetBJ=0,boolean,playerflag,player
_IsPlayerFlagSetBJ_Defaults=PlayerFlagGivesBounty,PlayerNA
_IsPlayerFlagSetBJ_Category=TC_PLAYER

IsPlayerAlly=1,boolean,player,player
_IsPlayerAlly_Defaults=GetTriggerPlayer,Player00
_IsPlayerAlly_Category=TC_PLAYER

IsPlayerEnemy=1,boolean,player,player
_IsPlayerEnemy_Defaults=GetTriggerPlayer,Player00
_IsPlayerEnemy_Category=TC_PLAYER

GetPlayerAlliance=1,boolean,player,player,alliancetype
_GetPlayerAlliance_Defaults=GetTriggerPlayer,Player00,AllianceTypePassive
_GetPlayerAlliance_Category=TC_PLAYER

IsPlayerInForce=1,boolean,player,force
_IsPlayerInForce_Defaults=Player00,GetPlayersAll
_IsPlayerInForce_Category=TC_PLAYER

IsQuestItemCompleted=0,boolean,questitem
_IsQuestItemCompleted_Defaults=GetLastCreatedQuestItemBJ
_IsQuestItemCompleted_Category=TC_QUEST

IsQuestEnabled=0,boolean,quest
_IsQuestEnabled_Defaults=GetLastCreatedQuestBJ
_IsQuestEnabled_Category=TC_QUEST

IsQuestCompleted=0,boolean,quest
_IsQuestCompleted_Defaults=GetLastCreatedQuestBJ
_IsQuestCompleted_Category=TC_QUEST

IsQuestFailed=0,boolean,quest
_IsQuestFailed_Defaults=GetLastCreatedQuestBJ
_IsQuestFailed_Category=TC_QUEST

IsQuestDiscovered=0,boolean,quest
_IsQuestDiscovered_Defaults=GetLastCreatedQuestBJ
_IsQuestDiscovered_Category=TC_QUEST

IsQuestRequired=0,boolean,quest
_IsQuestRequired_Defaults=GetLastCreatedQuestBJ
_IsQuestRequired_Category=TC_QUEST

RectContainsLoc=1,boolean,rect,location
_RectContainsLoc_Defaults=GetPlayableMapRect,GetRectCenter
_RectContainsLoc_Category=TC_REGION

IsTriggerEnabled=1,boolean,trigger
_IsTriggerEnabled_Defaults=GetTriggeringTrigger
_IsTriggerEnabled_Category=TC_TRIGGER

TriggerEvaluate=1,boolean,trigger
_TriggerEvaluate_Defaults=_
_TriggerEvaluate_Category=TC_TRIGGER

IsTriggerQueuedBJ=0,boolean,trigger
_IsTriggerQueuedBJ_Defaults=_
_IsTriggerQueuedBJ_Category=TC_TRIGGER

IsTriggerQueueEmptyBJ=0,boolean
_IsTriggerQueueEmptyBJ_Defaults=
_IsTriggerQueueEmptyBJ_Category=TC_TRIGGER

IsUnitType=1,boolean,unit,unittype
_IsUnitType_Defaults=GetTriggerUnit,UnitTypeStructure
_IsUnitType_Category=TC_UNIT

IsUnitInGroup=1,boolean,unit,group
_IsUnitInGroup_Defaults=GetTriggerUnit,GetUnitsInRectAll
_IsUnitInGroup_Category=TC_UNIT

RectContainsUnit=1,boolean,rect,unit
_RectContainsUnit_Defaults=GetPlayableMapRect,GetTriggerUnit
_RectContainsUnit_Category=TC_UNIT

IsUnitAliveBJ=0,boolean,unit
_IsUnitAliveBJ_Defaults=GetTriggerUnit
_IsUnitAliveBJ_Category=TC_UNIT

IsUnitDeadBJ=0,boolean,unit
_IsUnitDeadBJ_Defaults=GetTriggerUnit
_IsUnitDeadBJ_Category=TC_UNIT

IsUnitPausedBJ=0,boolean,unit
_IsUnitPausedBJ_Defaults=GetTriggerUnit
_IsUnitPausedBJ_Category=TC_UNIT

IsUnitHiddenBJ=0,boolean,unit
_IsUnitHiddenBJ_Defaults=GetTriggerUnit
_IsUnitHiddenBJ_Category=TC_UNIT

IsUnitIllusionBJ=0,boolean,unit
_IsUnitIllusionBJ_Defaults=GetTriggerUnit
_IsUnitIllusionBJ_Category=TC_UNIT

UnitCanSleepPerm=0,boolean,unit
_UnitCanSleepPerm_Defaults=GetTriggerUnit
_UnitCanSleepPerm_Category=TC_UNIT

UnitCanSleepBJ=0,boolean,unit
_UnitCanSleepBJ_Defaults=GetTriggerUnit
_UnitCanSleepBJ_Category=TC_UNIT

UnitIsSleepingBJ=0,boolean,unit
_UnitIsSleepingBJ_Defaults=GetTriggerUnit
_UnitIsSleepingBJ_Category=TC_UNIT

IsUnitLoadedBJ=0,boolean,unit
_IsUnitLoadedBJ_Defaults=GetTriggerUnit
_IsUnitLoadedBJ_Category=TC_UNIT

IsUnitInTransportBJ=0,boolean,unit,unit
_IsUnitInTransportBJ_Defaults=GetTriggerUnit,_
_IsUnitInTransportBJ_Category=TC_UNIT

IsUnitSelected=1,boolean,unit,player
_IsUnitSelected_Defaults=GetTriggerUnit,Player00
_IsUnitSelected_Category=TC_UNIT

IsUnitAlly=1,boolean,unit,player
_IsUnitAlly_Defaults=GetTriggerUnit,Player00
_IsUnitAlly_Category=TC_UNIT

IsUnitEnemy=1,boolean,unit,player
_IsUnitEnemy_Defaults=GetTriggerUnit,Player00
_IsUnitEnemy_Category=TC_UNIT

IsUnitGroupEmptyBJ=1,boolean,group
_IsUnitGroupEmptyBJ_Defaults=_
_IsUnitGroupEmptyBJ_Category=TC_UNITGROUP

IsUnitGroupInRectBJ=1,boolean,group,rect
_IsUnitGroupInRectBJ_Defaults=_
_IsUnitGroupInRectBJ_Category=TC_UNITGROUP

IsUnitGroupDeadBJ=1,boolean,group
_IsUnitGroupDeadBJ_Defaults=_
_IsUnitGroupDeadBJ_Category=TC_UNITGROUP

IsFogEnabled=1,boolean
_IsFogEnabled_Defaults=
_IsFogEnabled_Category=TC_VISIBILITY

IsFogMaskEnabled=1,boolean
_IsFogMaskEnabled_Defaults=
_IsFogMaskEnabled_Category=TC_VISIBILITY

IsUnitVisible=1,boolean,unit,player
_IsUnitVisible_Defaults=GetTriggerUnit,Player00
_IsUnitVisible_Category=TC_VISIBILITY

IsUnitInvisible=1,boolean,unit,player
_IsUnitInvisible_Defaults=GetTriggerUnit,Player00
_IsUnitInvisible_Category=TC_VISIBILITY

IsUnitFogged=1,boolean,unit,player
_IsUnitFogged_Defaults=GetTriggerUnit,Player00
_IsUnitFogged_Category=TC_VISIBILITY

IsUnitMasked=1,boolean,unit,player
_IsUnitMasked_Defaults=GetTriggerUnit,Player00
_IsUnitMasked_Category=TC_VISIBILITY

IsLocationVisibleToPlayer=1,boolean,location,player
_IsLocationVisibleToPlayer_Defaults=GetRectCenter,Player00
_IsLocationVisibleToPlayer_Category=TC_VISIBILITY

IsLocationFoggedToPlayer=1,boolean,location,player
_IsLocationFoggedToPlayer_Defaults=GetRectCenter,Player00
_IsLocationFoggedToPlayer_Category=TC_VISIBILITY

IsLocationMaskedToPlayer=1,boolean,location,player
_IsLocationMaskedToPlayer_Defaults=GetRectCenter,Player00
_IsLocationMaskedToPlayer_Category=TC_VISIBILITY


// returns integer
OperatorInt=1,integer,integer,ArithmeticOperator,integer
_OperatorInt_Defaults=_,OperatorAdd,1
_OperatorInt_Category=TC_ARITHMETIC

GetForLoopIndexA=0,integer
_GetForLoopIndexA_Defaults=
_GetForLoopIndexA_Category=TC_FORLOOP

GetForLoopIndexB=0,integer
_GetForLoopIndexB_Defaults=
_GetForLoopIndexB_Category=TC_FORLOOP

R2I=1,integer,real
_R2I_Defaults=GetUnitStateSwap
_R2I_Category=TC_CONVERSION

S2I=1,integer,string
_S2I_Defaults=GetEventPlayerChatString
_S2I_Category=TC_CONVERSION

GetLearnedSkillLevel=0,integer
_GetLearnedSkillLevel_Defaults=
_GetLearnedSkillLevel_Category=TC_EVENTRESPONSE

GetPlayers=1,integer
_GetPlayers_Defaults=
_GetPlayers_Category=TC_GAME

GetTeams=1,integer
_GetTeams_Defaults=
_GetTeams_Category=TC_GAME

GetStoredIntegerBJ=0,integer,string,string,gamecache
_GetStoredIntegerBJ_Defaults=_,"Category",GetLastCreatedGameCacheBJ
_GetStoredIntegerBJ_Category=TC_GAMECACHE

GetHeroLevel=1,integer,unit
_GetHeroLevel_Defaults=GetTriggerUnit
_GetHeroLevel_Category=TC_HERO

GetHeroXP=1,integer,unit
_GetHeroXP_Defaults=GetTriggerUnit
_GetHeroXP_Category=TC_HERO

LeaderboardGetPlayerIndexBJ=0,integer,player,leaderboard
_LeaderboardGetPlayerIndexBJ_Defaults=Player00,GetLastCreatedLeaderboard
_LeaderboardGetPlayerIndexBJ_Category=TC_LEADERBOARD

GetRandomInt=1,integer,integer,integer
_GetRandomInt_Defaults=1,10
_GetRandomInt_Category=TC_MATH

IMinBJ=1,integer,integer,integer
_IMinBJ_Defaults=_,_
_IMinBJ_Category=TC_MATH

IMaxBJ=1,integer,integer,integer
_IMaxBJ_Defaults=_,_
_IMaxBJ_Category=TC_MATH

IAbsBJ=1,integer,integer
_IAbsBJ_Defaults=_
_IAbsBJ_Category=TC_MATH

ISignBJ=1,integer,integer
_ISignBJ_Defaults=_
_ISignBJ_Category=TC_MATH

ModuloInteger=1,integer,integer,integer
_ModuloInteger_Defaults=_,_
_ModuloInteger_Category=TC_MATH

GetResourceAmount=1,integer,unit
_GetResourceAmount_Defaults=_
_GetResourceAmount_Category=TC_NEUTRALBUILDING

GetPlayerState=1,integer,player,playerstate
_GetPlayerState_Defaults=Player00,PlayerStateGold
_GetPlayerState_Category=TC_PLAYER

GetConvertedPlayerId=1,integer,player
_GetConvertedPlayerId_Defaults=GetTriggerPlayer
_GetConvertedPlayerId_Category=TC_PLAYER

GetPlayerStructureCount=1,integer,player,includeoption
_GetPlayerStructureCount_Defaults=Player00,InclusionExclude
_GetPlayerStructureCount_Category=TC_PLAYER

GetPlayerUnitCount=1,integer,player,includeoption
_GetPlayerUnitCount_Defaults=Player00,InclusionExclude
_GetPlayerUnitCount_Category=TC_PLAYER

GetPlayerTechCountSimple=1,integer,techcode,player
_GetPlayerTechCountSimple_Defaults=_,Player00
_GetPlayerTechCountSimple_Category=TC_PLAYER

GetPlayerTechMaxAllowedSwap=1,integer,techcode,player
_GetPlayerTechMaxAllowedSwap_Defaults=_,Player00
_GetPlayerTechMaxAllowedSwap_Category=TC_PLAYER

GetPlayerTeam=1,integer,player
_GetPlayerTeam_Defaults=Player00
_GetPlayerTeam_Category=TC_PLAYER

CountPlayersInForceBJ=1,integer,force
_CountPlayersInForceBJ_Defaults=GetPlayersByMapControl
_CountPlayersInForceBJ_Category=TC_PLAYER

CountUnitsInGroup=1,integer,group
_CountUnitsInGroup_Defaults=GetUnitsInRectAll
_CountUnitsInGroup_Category=TC_UNIT

GetUnitFoodUsed=1,integer,unit
_GetUnitFoodUsed_Defaults=GetTriggerUnit
_GetUnitFoodUsed_Category=TC_UNIT

GetUnitFoodMade=1,integer,unit
_GetUnitFoodMade_Defaults=GetTriggerUnit
_GetUnitFoodMade_Category=TC_UNIT

GetFoodMade=1,integer,unitcode
_GetFoodMade_Defaults=hfoo
_GetFoodMade_Category=TC_UNIT

GetUnitPointValue=1,integer,unit
_GetUnitPointValue_Defaults=GetTriggerUnit
_GetUnitPointValue_Category=TC_UNIT

GetUnitPointValueByType=1,integer,unitcode
_GetUnitPointValueByType_Defaults=hfoo
_GetUnitPointValueByType_Category=TC_UNIT

GetTriggerEvalCount=1,integer,trigger
_GetTriggerEvalCount_Defaults=GetTriggeringTrigger
_GetTriggerEvalCount_Category=TC_TRIGGER

GetTriggerExecCount=1,integer,trigger
_GetTriggerExecCount_Defaults=GetTriggeringTrigger
_GetTriggerExecCount_Category=TC_TRIGGER

QueuedTriggerCountBJ=0,integer
_QueuedTriggerCountBJ_Defaults=
_QueuedTriggerCountBJ_Category=TC_TRIGGER


// returns real
OperatorReal=1,real,real,ArithmeticOperator,real
_OperatorReal_Defaults=1,OperatorAdd,1
_OperatorReal_Category=TC_ARITHMETIC

GetLocationX=1,real,location
_GetLocationX_Defaults=GetRectCenter
_GetLocationX_Category=TC_NOTHING

GetLocationY=1,real,location
_GetLocationY_Defaults=GetRectCenter
_GetLocationY_Category=TC_NOTHING

CameraSetupGetFieldSwap=1,real,camerafield,camerasetup
_CameraSetupGetFieldSwap_Defaults=CameraFieldTargetDistance,_
_CameraSetupGetFieldSwap_Category=TC_CAMERA

GetCameraField=1,real,camerafield
_GetCameraField_Defaults=CameraFieldTargetDistance
_GetCameraField_Category=TC_CAMERA

GetCameraTargetPositionX=1,real
_GetCameraTargetPositionX_Defaults=
_GetCameraTargetPositionX_Category=TC_CAMERA

GetCameraTargetPositionY=1,real
_GetCameraTargetPositionY_Defaults=
_GetCameraTargetPositionY_Category=TC_CAMERA

GetCameraTargetPositionZ=1,real
_GetCameraTargetPositionZ_Defaults=
_GetCameraTargetPositionZ_Category=TC_CAMERA

GetCameraEyePositionX=1,real
_GetCameraEyePositionX_Defaults=
_GetCameraEyePositionX_Category=TC_CAMERA

GetCameraEyePositionY=1,real
_GetCameraEyePositionY_Defaults=
_GetCameraEyePositionY_Category=TC_CAMERA

GetCameraEyePositionZ=1,real
_GetCameraEyePositionZ_Defaults=
_GetCameraEyePositionZ_Category=TC_CAMERA

GetLastTransmissionDurationBJ=1,real
_GetLastTransmissionDurationBJ_Defaults=
_GetLastTransmissionDurationBJ_Category=TC_CINEMATIC

I2R=1,real,integer
_I2R_Defaults=GetUnitPointValueByType
_I2R_Category=TC_CONVERSION

S2R=1,real,string
_S2R_Defaults=GetEventPlayerChatString
_S2R_Category=TC_CONVERSION

Deg2Rad=1,real,real
_Deg2Rad_Defaults=0
_Deg2Rad_Category=TC_CONVERSION

Rad2Deg=1,real,real
_Rad2Deg_Defaults=0
_Rad2Deg_Category=TC_CONVERSION

TimerGetElapsed=1,real,timer
_TimerGetElapsed_Defaults=_
_TimerGetElapsed_Category=TC_COUNTDOWNTIMER

TimerGetRemaining=1,real,timer
_TimerGetRemaining_Defaults=_
_TimerGetRemaining_Category=TC_COUNTDOWNTIMER

TimerGetTimeout=1,real,timer
_TimerGetTimeout_Defaults=_
_TimerGetTimeout_Category=TC_COUNTDOWNTIMER

GetDestructableLife=1,real,destructable
_GetDestructableLife_Defaults=GetLastCreatedDestructable
_GetDestructableLife_Category=TC_DESTRUCT

GetDestructableMaxLife=1,real,destructable
_GetDestructableMaxLife_Defaults=GetLastCreatedDestructable
_GetDestructableMaxLife_Category=TC_DESTRUCT

GetEventDamage=0,real
_GetEventDamage_Defaults=
_GetEventDamage_Category=TC_EVENTRESPONSE

GetTimeOfDay=1,real
_GetTimeOfDay_Defaults=
_GetTimeOfDay_Category=TC_GAME

GetTimeOfDayScalePercentBJ=1,real
_GetTimeOfDayScalePercentBJ_Defaults=
_GetTimeOfDayScalePercentBJ_Category=TC_GAME

GetStoredRealBJ=0,real,string,string,gamecache
_GetStoredRealBJ_Defaults=_,"Category",GetLastCreatedGameCacheBJ
_GetStoredRealBJ_Category=TC_GAMECACHE

GetItemLifeBJ=0,real,item
_GetItemLifeBJ_Defaults=GetLastCreatedItem
_GetItemLifeBJ_Category=TC_ITEM

GetRandomReal=1,real,real,real
_GetRandomReal_Defaults=0,1
_GetRandomReal_Category=TC_MATH

GetRandomDirectionDeg=1,real
_GetRandomDirectionDeg_Defaults=
_GetRandomDirectionDeg_Category=TC_MATH

GetRandomPercentageBJ=1,real
_GetRandomPercentageBJ_Defaults=
_GetRandomPercentageBJ_Category=TC_MATH

DistanceBetweenPoints=1,real,location,location
_DistanceBetweenPoints_Defaults=GetUnitLoc,GetUnitLoc
_DistanceBetweenPoints_Category=TC_MATH

AngleBetweenPoints=1,real,location,location
_AngleBetweenPoints_Defaults=GetUnitLoc,GetUnitLoc
_AngleBetweenPoints_Category=TC_MATH

RMinBJ=1,real,real,real
_RMinBJ_Defaults=_,_
_RMinBJ_Category=TC_MATH

RMaxBJ=1,real,real,real
_RMaxBJ_Defaults=_,_
_RMaxBJ_Category=TC_MATH

RAbsBJ=1,real,real
_RAbsBJ_Defaults=_
_RAbsBJ_Category=TC_MATH

RSignBJ=1,real,real
_RSignBJ_Defaults=_
_RSignBJ_Category=TC_MATH

ModuloReal=1,real,real,real
_ModuloReal_Defaults=_,_
_ModuloReal_Category=TC_MATH

Pow=1,real,real,real
_Pow_Defaults=_,_
_Pow_Category=TC_MATH

SquareRoot=1,real,real
_SquareRoot_Defaults=_
_SquareRoot_Limits=0,_
_SquareRoot_Category=TC_MATH

SinBJ=1,real,real
_SinBJ_Defaults=GetUnitFacing
_SinBJ_Category=TC_MATH

CosBJ=1,real,real
_CosBJ_Defaults=GetUnitFacing
_CosBJ_Category=TC_MATH

TanBJ=1,real,real
_TanBJ_Defaults=GetUnitFacing
_TanBJ_Category=TC_MATH

AsinBJ=1,real,real
_AsinBJ_Defaults=_
_AsinBJ_Limits=-1,1
_AsinBJ_Category=TC_MATH

AcosBJ=1,real,real
_AcosBJ_Defaults=_
_AcosBJ_Limits=-1,1
_AcosBJ_Category=TC_MATH

AtanBJ=1,real,real
_AtanBJ_Defaults=_
_AtanBJ_Category=TC_MATH

Atan2BJ=1,real,real,real
_Atan2BJ_Defaults=_,_
_Atan2BJ_Category=TC_MATH

GetPlayerHandicapXPBJ=0,real,player
_GetPlayerHandicapXPBJ_Defaults=Player00
_GetPlayerHandicapXPBJ_Category=TC_PLAYER

GetPlayerHandicapBJ=0,real,player
_GetPlayerHandicapBJ_Defaults=Player00
_GetPlayerHandicapBJ_Category=TC_PLAYER

GetRectCenterX=1,real,rect
_GetRectCenterX_Defaults=GetPlayableMapRect
_GetRectCenterX_Category=TC_REGION

GetRectCenterY=1,real,rect
_GetRectCenterY_Defaults=GetPlayableMapRect
_GetRectCenterY_Category=TC_REGION

GetRectMinX=1,real,rect
_GetRectMinX_Defaults=GetPlayableMapRect
_GetRectMinX_Category=TC_REGION

GetRectMinY=1,real,rect
_GetRectMinY_Defaults=GetPlayableMapRect
_GetRectMinY_Category=TC_REGION

GetRectMaxX=1,real,rect
_GetRectMaxX_Defaults=GetPlayableMapRect
_GetRectMaxX_Category=TC_REGION

GetRectMaxY=1,real,rect
_GetRectMaxY_Defaults=GetPlayableMapRect
_GetRectMaxY_Category=TC_REGION

GetRectWidthBJ=1,real,rect
_GetRectWidthBJ_Defaults=_
_GetRectWidthBJ_Category=TC_REGION

GetRectHeightBJ=1,real,rect
_GetRectHeightBJ_Defaults=_
_GetRectHeightBJ_Category=TC_REGION

GetSoundDurationBJ=1,real,sound
_GetSoundDurationBJ_Defaults=GetLastPlayedSound
_GetSoundDurationBJ_Category=TC_SOUND

GetSoundFileDurationBJ=1,real,musicfile
_GetSoundFileDurationBJ_Defaults=GetLastPlayedMusic
_GetSoundFileDurationBJ_Category=TC_SOUND

GetUnitStateSwap=1,real,unitstate,unit
_GetUnitStateSwap_Defaults=UnitStateLife,GetTriggerUnit
_GetUnitStateSwap_Category=TC_UNIT

GetUnitFacing=1,real,unit
_GetUnitFacing_Defaults=GetTriggerUnit
_GetUnitFacing_Category=TC_UNIT

GetUnitMoveSpeed=1,real,unit
_GetUnitMoveSpeed_Defaults=GetTriggerUnit
_GetUnitMoveSpeed_Category=TC_UNIT

GetUnitDefaultMoveSpeed=1,real,unit
_GetUnitDefaultMoveSpeed_Defaults=GetTriggerUnit
_GetUnitDefaultMoveSpeed_Category=TC_UNIT

GetUnitAcquireRange=1,real,unit
_GetUnitAcquireRange_Defaults=GetTriggerUnit
_GetUnitAcquireRange_Category=TC_UNIT

GetUnitDefaultAcquireRange=1,real,unit
_GetUnitDefaultAcquireRange_Defaults=GetTriggerUnit
_GetUnitDefaultAcquireRange_Category=TC_UNIT

GetUnitTurnSpeed=1,real,unit
_GetUnitTurnSpeed_Defaults=GetTriggerUnit
_GetUnitTurnSpeed_Category=TC_UNIT

GetUnitDefaultTurnSpeed=1,real,unit
_GetUnitDefaultTurnSpeed_Defaults=GetTriggerUnit
_GetUnitDefaultTurnSpeed_Category=TC_UNIT

GetUnitPropWindowBJ=1,real,unit
_GetUnitPropWindowBJ_Defaults=GetTriggerUnit
_GetUnitPropWindowBJ_Category=TC_UNIT

GetUnitDefaultPropWindowBJ=1,real,unit
_GetUnitDefaultPropWindowBJ_Defaults=GetTriggerUnit
_GetUnitDefaultPropWindowBJ_Category=TC_UNIT

GetUnitFlyHeight=1,real,unit
_GetUnitFlyHeight_Defaults=GetTriggerUnit
_GetUnitFlyHeight_Category=TC_UNIT

GetUnitDefaultFlyHeight=1,real,unit
_GetUnitDefaultFlyHeight_Defaults=GetTriggerUnit
_GetUnitDefaultFlyHeight_Category=TC_UNIT


// returns string
OperatorString=1,string,string,string
_OperatorString_Defaults=_,_
_OperatorString_Category=TC_NOTHING

SubStringBJ=1,string,string,integer,integer
_SubStringBJ_Defaults=_,1,5
_SubStringBJ_Category=TC_NOTHING

I2S=1,string,integer
_I2S_Defaults=GetConvertedPlayerId
_I2S_Category=TC_CONVERSION

R2S=1,string,real
_R2S_Defaults=GetUnitStateSwap
_R2S_Category=TC_CONVERSION

R2SW=1,string,real,integer,integer
_R2SW_Defaults=GetUnitStateSwap,1,2
_R2SW_Limits=_,_,0,_,0,_
_R2SW_Category=TC_CONVERSION

OrderId2StringBJ=1,string,ordercode
_OrderId2StringBJ_Defaults=GetIssuedOrderIdBJ
_OrderId2StringBJ_Category=TC_CONVERSION

UnitId2StringBJ=1,string,unitcode
_UnitId2StringBJ_Defaults=GetUnitTypeId
_UnitId2StringBJ_Category=TC_CONVERSION

GetEventPlayerChatString=0,string
_GetEventPlayerChatString_Defaults=
_GetEventPlayerChatString_Category=TC_EVENTRESPONSE

GetEventPlayerChatStringMatched=0,string
_GetEventPlayerChatStringMatched_Defaults=
_GetEventPlayerChatStringMatched_Category=TC_EVENTRESPONSE

GetPlayerName=1,string,player
_GetPlayerName_Defaults=GetTriggerPlayer
_GetPlayerName_Category=TC_PLAYER

GetUnitName=1,string,unit
_GetUnitName_Defaults=GetTriggerUnit
_GetUnitName_Category=TC_UNIT


// returns location
GetRectCenter=1,location,rect
_GetRectCenter_Defaults=GetPlayableMapRect
_GetRectCenter_Category=TC_NOTHING

GetRandomLocInRect=1,location,rect
_GetRandomLocInRect_Defaults=GetPlayableMapRect
_GetRandomLocInRect_Category=TC_NOTHING

OffsetLocation=1,location,location,real,real
_OffsetLocation_Defaults=GetRectCenter,0,0
_OffsetLocation_Category=TC_NOTHING

PolarProjectionBJ=1,location,location,real,real
_PolarProjectionBJ_Defaults=GetRectCenter,256,0
_PolarProjectionBJ_Category=TC_NOTHING

CameraSetupGetDestPositionLoc=1,location,camerasetup
_CameraSetupGetDestPositionLoc_Defaults=_
_CameraSetupGetDestPositionLoc_Category=TC_CAMERA

GetCameraTargetPositionLoc=1,location
_GetCameraTargetPositionLoc_Defaults=
_GetCameraTargetPositionLoc_Category=TC_CAMERA

GetCameraEyePositionLoc=1,location
_GetCameraEyePositionLoc_Defaults=
_GetCameraEyePositionLoc_Category=TC_CAMERA

Location=1,location,real,real
_Location_Defaults=0,0
_Location_Category=TC_CONVERSION

GetDestructableLoc=1,location,destructable
_GetDestructableLoc_Defaults=GetLastCreatedDestructable
_GetDestructableLoc_Category=TC_DESTRUCT

GetOrderPointLoc=0,location
_GetOrderPointLoc_Defaults=
_GetOrderPointLoc_Category=TC_EVENTRESPONSE

GetItemLoc=1,location,item
_GetItemLoc_Defaults=GetLastCreatedItem
_GetItemLoc_Category=TC_ITEM

WaygateGetDestinationLocBJ=0,location,unit
_WaygateGetDestinationLocBJ_Defaults=_
_WaygateGetDestinationLocBJ_Category=TC_NEUTRALBUILDING

GetPlayerStartLocationLoc=1,location,player
_GetPlayerStartLocationLoc_Defaults=Player00
_GetPlayerStartLocationLoc_Category=TC_PLAYER

GetUnitLoc=1,location,unit
_GetUnitLoc_Defaults=GetTriggerUnit
_GetUnitLoc_Category=TC_UNIT


// returns rect
GetCurrentCameraBoundsMapRectBJ=1,rect
_GetCurrentCameraBoundsMapRectBJ_Defaults=
_GetCurrentCameraBoundsMapRectBJ_Category=TC_NOTHING

GetCameraBoundsMapRect=1,rect
_GetCameraBoundsMapRect_Defaults=
_GetCameraBoundsMapRect_Category=TC_NOTHING

GetPlayableMapRect=1,rect
_GetPlayableMapRect_Defaults=
_GetPlayableMapRect_Category=TC_NOTHING

GetEntireMapRect=1,rect
_GetEntireMapRect_Defaults=
_GetEntireMapRect_Category=TC_NOTHING

OffsetRectBJ=0,rect,rect,real,real
_OffsetRectBJ_Defaults=_,0,0
_OffsetRectBJ_Category=TC_NOTHING

RectFromCenterSizeBJ=1,rect,location,real,real
_RectFromCenterSizeBJ_Defaults=GetUnitLoc,_,_
_RectFromCenterSizeBJ_Category=TC_CONVERSION

Rect=1,rect,real,real,real,real
_Rect_Defaults=0,0,0,0
_Rect_Category=TC_CONVERSION

RectFromLoc=1,rect,location,location
_RectFromLoc_Defaults=Location,Location
_RectFromLoc_Category=TC_CONVERSION


// returns unit
GetLastCreatedUnit=0,unit
_GetLastCreatedUnit_Defaults=
_GetLastCreatedUnit_Category=TC_LAST

GetLastRestoredUnitBJ=0,unit
_GetLastRestoredUnitBJ_Defaults=
_GetLastRestoredUnitBJ_Category=TC_LAST

GetLastReplacedUnitBJ=0,unit
_GetLastReplacedUnitBJ_Defaults=
_GetLastReplacedUnitBJ_Category=TC_LAST

GetLastHauntedGoldMine=0,unit
_GetLastHauntedGoldMine_Defaults=
_GetLastHauntedGoldMine_Category=TC_LAST

GetEnumUnit=0,unit
_GetEnumUnit_Defaults=
_GetEnumUnit_Category=TC_NOTHING

GetFilterUnit=0,unit
_GetFilterUnit_Defaults=
_GetFilterUnit_Category=TC_NOTHING

GroupPickRandomUnit=0,unit,group
_GroupPickRandomUnit_Defaults=_
_GroupPickRandomUnit_Category=TC_NOTHING

GetAttackedUnitBJ=0,unit
_GetAttackedUnitBJ_Defaults=
_GetAttackedUnitBJ_Category=TC_EVENTRESPONSE

GetAttacker=0,unit
_GetAttacker_Defaults=
_GetAttacker_Category=TC_EVENTRESPONSE

GetConstructingStructure=0,unit
_GetConstructingStructure_Defaults=
_GetConstructingStructure_Category=TC_EVENTRESPONSE

GetCancelledStructure=0,unit
_GetCancelledStructure_Defaults=
_GetCancelledStructure_Category=TC_EVENTRESPONSE

GetConstructedStructure=0,unit
_GetConstructedStructure_Defaults=
_GetConstructedStructure_Category=TC_EVENTRESPONSE

GetDecayingUnit=0,unit
_GetDecayingUnit_Defaults=
_GetDecayingUnit_Category=TC_EVENTRESPONSE

GetDyingUnit=0,unit
_GetDyingUnit_Defaults=
_GetDyingUnit_Category=TC_EVENTRESPONSE

GetEnteringUnit=0,unit
_GetEnteringUnit_Defaults=
_GetEnteringUnit_Category=TC_EVENTRESPONSE

GetManipulatingUnit=0,unit
_GetManipulatingUnit_Defaults=
_GetManipulatingUnit_Category=TC_EVENTRESPONSE

GetKillingUnitBJ=0,unit
_GetKillingUnitBJ_Defaults=
_GetKillingUnitBJ_Category=TC_EVENTRESPONSE

GetLearningUnit=0,unit
_GetLearningUnit_Defaults=
_GetLearningUnit_Category=TC_EVENTRESPONSE

GetLeavingUnit=0,unit
_GetLeavingUnit_Defaults=
_GetLeavingUnit_Category=TC_EVENTRESPONSE

GetLevelingUnit=0,unit
_GetLevelingUnit_Defaults=
_GetLevelingUnit_Category=TC_EVENTRESPONSE

GetLoadedUnitBJ=0,unit
_GetLoadedUnitBJ_Defaults=
_GetLoadedUnitBJ_Category=TC_EVENTRESPONSE

GetOrderedUnit=0,unit
_GetOrderedUnit_Defaults=
_GetOrderedUnit_Category=TC_EVENTRESPONSE

GetResearchingUnit=0,unit
_GetResearchingUnit_Defaults=
_GetResearchingUnit_Category=TC_EVENTRESPONSE

GetRevivableUnit=0,unit
_GetRevivableUnit_Defaults=
_GetRevivableUnit_Category=TC_EVENTRESPONSE

GetRevivingUnit=0,unit
_GetRevivingUnit_Defaults=
_GetRevivingUnit_Category=TC_EVENTRESPONSE

GetSummonedUnit=0,unit
_GetSummonedUnit_Defaults=
_GetSummonedUnit_Category=TC_EVENTRESPONSE

GetSummoningUnit=0,unit
_GetSummoningUnit_Defaults=
_GetSummoningUnit_Category=TC_EVENTRESPONSE

GetOrderTargetUnit=0,unit
_GetOrderTargetUnit_Defaults=
_GetOrderTargetUnit_Category=TC_EVENTRESPONSE

GetEventTargetUnit=0,unit
_GetEventTargetUnit_Defaults=
_GetEventTargetUnit_Category=TC_EVENTRESPONSE

GetTrainedUnit=0,unit
_GetTrainedUnit_Defaults=
_GetTrainedUnit_Category=TC_EVENTRESPONSE

GetTransportUnitBJ=0,unit
_GetTransportUnitBJ_Defaults=
_GetTransportUnitBJ_Category=TC_EVENTRESPONSE

GetTriggerUnit=0,unit
_GetTriggerUnit_Defaults=
_GetTriggerUnit_Category=TC_EVENTRESPONSE


// returns unitcode
GetUnitTypeId=1,unitcode,unit
_GetUnitTypeId_Defaults=GetTriggerUnit
_GetUnitTypeId_Category=TC_NOTHING

ChooseRandomCreepBJ=1,unitcode,integer
_ChooseRandomCreepBJ_Defaults=1
_ChooseRandomCreepBJ_Limits=0,10
_ChooseRandomCreepBJ_Category=TC_NOTHING

ChooseRandomNPBuildingBJ=1,unitcode
_ChooseRandomNPBuildingBJ_Defaults=
_ChooseRandomNPBuildingBJ_Category=TC_NOTHING

String2UnitIdBJ=1,unitcode,string
_String2UnitIdBJ_Defaults=footman
_String2UnitIdBJ_Category=TC_CONVERSION

GetTrainedUnitType=0,unitcode
_GetTrainedUnitType_Defaults=
_GetTrainedUnitType_Category=TC_EVENTRESPONSE


// returns ordercode
String2OrderIdBJ=0,ordercode,string
_String2OrderIdBJ_Defaults=stop
_String2OrderIdBJ_Category=TC_CONVERSION

UnitId2OrderIdBJ=0,ordercode,unitcode
_UnitId2OrderIdBJ_Defaults=hfoo
_UnitId2OrderIdBJ_Category=TC_CONVERSION

GetIssuedOrderIdBJ=0,ordercode
_GetIssuedOrderIdBJ_Defaults=
_GetIssuedOrderIdBJ_Category=TC_EVENTRESPONSE


// returns destructable
GetLastCreatedDestructable=0,destructable
_GetLastCreatedDestructable_Defaults=
_GetLastCreatedDestructable_Category=TC_LAST

RandomDestructableInRectSimpleBJ=0,destructable,rect
_RandomDestructableInRectSimpleBJ_Defaults=_
_RandomDestructableInRectSimpleBJ_Category=TC_NOTHING

RandomDestructableInRectBJ=0,destructable,rect,boolexpr
_RandomDestructableInRectBJ_Defaults=_,_
_RandomDestructableInRectBJ_Category=TC_NOTHING

GetEnumDestructable=0,destructable
_GetEnumDestructable_Defaults=
_GetEnumDestructable_Category=TC_NOTHING

GetFilterDestructable=0,destructable
_GetFilterDestructable_Defaults=
_GetFilterDestructable_Category=TC_NOTHING

GetDyingDestructable=0,destructable
_GetDyingDestructable_Defaults=
_GetDyingDestructable_Category=TC_EVENTRESPONSE

GetOrderTargetDestructable=0,destructable
_GetOrderTargetDestructable_Defaults=
_GetOrderTargetDestructable_Category=TC_EVENTRESPONSE


// returns destructablecode
GetDestructableTypeId=1,destructablecode,destructable
_GetDestructableTypeId_Defaults=GetLastCreatedDestructable
_GetDestructableTypeId_Category=TC_NOTHING


// returns item
GetLastCreatedItem=0,item
_GetLastCreatedItem_Defaults=
_GetLastCreatedItem_Category=TC_LAST

GetLastRemovedItem=0,item
_GetLastRemovedItem_Defaults=
_GetLastRemovedItem_Category=TC_LAST

UnitItemInSlotBJ=0,item,unit,integer
_UnitItemInSlotBJ_Defaults=_,1
_UnitItemInSlotBJ_Limits=_,_,1,6
_UnitItemInSlotBJ_Category=TC_NOTHING

GetItemOfTypeFromUnitBJ=0,item,unit,itemcode
_GetItemOfTypeFromUnitBJ_Defaults=_,texp
_GetItemOfTypeFromUnitBJ_Category=TC_NOTHING

GetManipulatedItem=0,item
_GetManipulatedItem_Defaults=
_GetManipulatedItem_Category=TC_EVENTRESPONSE

GetOrderTargetItem=0,item
_GetOrderTargetItem_Defaults=
_GetOrderTargetItem_Category=TC_EVENTRESPONSE


// returns itemcode
GetItemTypeId=1,itemcode,item
_GetItemTypeId_Defaults=GetLastCreatedItem
_GetItemTypeId_Category=TC_NOTHING

ChooseRandomItemBJ=1,itemcode,integer
_ChooseRandomItemBJ_Defaults=1
_ChooseRandomItemBJ_Limits=0,10
_ChooseRandomItemBJ_Category=TC_NOTHING


// returns techcode
GetResearched=1,techcode
_GetResearched_Defaults=
_GetResearched_Category=TC_EVENTRESPONSE


// returns heroskillcode
GetLearnedSkillBJ=0,heroskillcode
_GetLearnedSkillBJ_Defaults=
_GetLearnedSkillBJ_Category=TC_EVENTRESPONSE


// returns player
GetEnumPlayer=0,player
_GetEnumPlayer_Defaults=
_GetEnumPlayer_Category=TC_NOTHING

GetFilterPlayer=0,player
_GetFilterPlayer_Defaults=
_GetFilterPlayer_Category=TC_NOTHING

GetOwningPlayer=1,player,unit
_GetOwningPlayer_Defaults=GetTriggerUnit
_GetOwningPlayer_Category=TC_NOTHING

GetItemPlayer=1,player,item
_GetItemPlayer_Defaults=GetLastCreatedItem
_GetItemPlayer_Category=TC_NOTHING

ForcePickRandomPlayer=0,player,force
_ForcePickRandomPlayer_Defaults=_
_ForcePickRandomPlayer_Category=TC_NOTHING

ConvertedPlayer=1,player,integer
_ConvertedPlayer_Defaults=1
_ConvertedPlayer_Limits=1,16
_ConvertedPlayer_Category=TC_CONVERSION

GetTriggerPlayer=0,player
_GetTriggerPlayer_Defaults=
_GetTriggerPlayer_Category=TC_EVENTRESPONSE


// returns group
GetLastCreatedGroup=0,group
_GetLastCreatedGroup_Defaults=
_GetLastCreatedGroup_Category=TC_LAST

GetUnitsInRectAll=0,group,rect
_GetUnitsInRectAll_Defaults=GetPlayableMapRect
_GetUnitsInRectAll_Category=TC_NOTHING

GetUnitsInRectOfPlayer=0,group,rect,player
_GetUnitsInRectOfPlayer_Defaults=GetPlayableMapRect,Player00
_GetUnitsInRectOfPlayer_Category=TC_NOTHING

GetUnitsInRectMatching=0,group,rect,boolexpr
_GetUnitsInRectMatching_Defaults=GetPlayableMapRect,_
_GetUnitsInRectMatching_Category=TC_NOTHING

GetUnitsInRangeOfLocAll=0,group,real,location
_GetUnitsInRangeOfLocAll_Defaults=512,GetRectCenter
_GetUnitsInRangeOfLocAll_Limits=0,_,_,_
_GetUnitsInRangeOfLocAll_Category=TC_NOTHING

GetUnitsInRangeOfLocMatching=0,group,real,location,boolexpr
_GetUnitsInRangeOfLocMatching_Defaults=512,GetRectCenter,_
_GetUnitsInRangeOfLocMatching_Limits=0,_,_,_,_,_
_GetUnitsInRangeOfLocMatching_Category=TC_NOTHING

GetUnitsOfPlayerAll=0,group,player
_GetUnitsOfPlayerAll_Defaults=Player00
_GetUnitsOfPlayerAll_Category=TC_NOTHING

GetUnitsOfPlayerAndTypeId=0,group,player,unitcode
_GetUnitsOfPlayerAndTypeId_Defaults=Player00,hfoo
_GetUnitsOfPlayerAndTypeId_Category=TC_NOTHING

GetUnitsOfPlayerMatching=0,group,player,boolexpr
_GetUnitsOfPlayerMatching_Defaults=Player00,_
_GetUnitsOfPlayerMatching_Category=TC_NOTHING

GetUnitsOfTypeIdAll=0,group,unitcode
_GetUnitsOfTypeIdAll_Defaults=hfoo
_GetUnitsOfTypeIdAll_Category=TC_NOTHING

GetUnitsSelectedAll=0,group,player
_GetUnitsSelectedAll_Defaults=Player00
_GetUnitsSelectedAll_Category=TC_NOTHING


// returns force
GetPlayersAll=0,force
_GetPlayersAll_Defaults=
_GetPlayersAll_Category=TC_NOTHING

GetPlayersByMapControl=0,force,mapcontrol
_GetPlayersByMapControl_Defaults=MapControlComputer
_GetPlayersByMapControl_Category=TC_NOTHING

GetPlayersMatching=0,force,boolexpr
_GetPlayersMatching_Defaults=_
_GetPlayersMatching_Category=TC_NOTHING

GetPlayersAllies=0,force,player
_GetPlayersAllies_Defaults=Player00
_GetPlayersAllies_Category=TC_NOTHING

GetPlayersEnemies=0,force,player
_GetPlayersEnemies_Defaults=Player00
_GetPlayersEnemies_Category=TC_NOTHING

GetForceOfPlayer=0,force,player
_GetForceOfPlayer_Defaults=Player00
_GetForceOfPlayer_Category=TC_NOTHING


// returns race
GetPlayerRace=1,race,player
_GetPlayerRace_Defaults=Player00
_GetPlayerRace_Category=TC_NOTHING

GetUnitRace=1,race,unit
_GetUnitRace_Defaults=GetTriggerUnit
_GetUnitRace_Category=TC_NOTHING


// returns camerasetup
GetCurrentCameraSetup=0,camerasetup
_GetCurrentCameraSetup_Defaults=
_GetCurrentCameraSetup_Category=TC_NOTHING


// returns fogmodifier
GetLastCreatedFogModifier=0,fogmodifier
_GetLastCreatedFogModifier_Defaults=
_GetLastCreatedFogModifier_Category=TC_LAST


// returns trigger
GetTriggeringTrigger=0,trigger
_GetTriggeringTrigger_Defaults=
_GetTriggeringTrigger_Category=TC_NOTHING


// returns gamedifficulty
GetGameDifficulty=1,gamedifficulty
_GetGameDifficulty_Defaults=
_GetGameDifficulty_Category=TC_NOTHING


// returns gamespeed
GetGameSpeed=1,gamespeed
_GetGameSpeed_Defaults=
_GetGameSpeed_Category=TC_NOTHING


// returns mapcontrol
GetPlayerController=1,mapcontrol,player
_GetPlayerController_Defaults=Player00
_GetPlayerController_Category=TC_NOTHING


// returns playercolor
GetPlayerColor=1,playercolor,player
_GetPlayerColor_Defaults=Player00
_GetPlayerColor_Category=TC_NOTHING


// returns playerslotstate
GetPlayerSlotState=1,playerslotstate,player
_GetPlayerSlotState_Defaults=Player00
_GetPlayerSlotState_Category=TC_NOTHING


// returns effect
GetLastCreatedEffectBJ=0,effect
_GetLastCreatedEffectBJ_Defaults=
_GetLastCreatedEffectBJ_Category=TC_LAST


// returns weathereffect
GetLastCreatedWeatherEffect=0,weathereffect
_GetLastCreatedWeatherEffect_Defaults=
_GetLastCreatedWeatherEffect_Category=TC_LAST


// returns sound
GetLastPlayedSound=0,sound
_GetLastPlayedSound_Defaults=
_GetLastPlayedSound_Category=TC_LAST


// returns musicfile
GetLastPlayedMusic=0,musicfile
_GetLastPlayedMusic_Defaults=
_GetLastPlayedMusic_Category=TC_LAST


// returns quest
GetLastCreatedQuestBJ=0,quest
_GetLastCreatedQuestBJ_Defaults=
_GetLastCreatedQuestBJ_Category=TC_LAST


// returns questitem
GetLastCreatedQuestItemBJ=0,questitem
_GetLastCreatedQuestItemBJ_Defaults=
_GetLastCreatedQuestItemBJ_Category=TC_LAST


// returns defeatcondition
GetLastCreatedDefeatConditionBJ=0,defeatcondition
_GetLastCreatedDefeatConditionBJ_Defaults=
_GetLastCreatedDefeatConditionBJ_Category=TC_LAST


// returns dialog
GetClickedDialogBJ=0,dialog
_GetClickedDialogBJ_Defaults=
_GetClickedDialogBJ_Category=TC_EVENTRESPONSE


// returns button
GetLastCreatedButtonBJ=0,button
_GetLastCreatedButtonBJ_Defaults=
_GetLastCreatedButtonBJ_Category=TC_LAST

GetClickedButtonBJ=0,button
_GetClickedButtonBJ_Defaults=
_GetClickedButtonBJ_Category=TC_EVENTRESPONSE


// returns leaderboard
GetLastCreatedLeaderboard=0,leaderboard
_GetLastCreatedLeaderboard_Defaults=
_GetLastCreatedLeaderboard_Category=TC_LAST

PlayerGetLeaderboardBJ=0,leaderboard,player
_PlayerGetLeaderboardBJ_Defaults=Player00
_PlayerGetLeaderboardBJ_Category=TC_NOTHING


// returns timer
GetLastCreatedTimerBJ=0,timer
_GetLastCreatedTimerBJ_Defaults=
_GetLastCreatedTimerBJ_Category=TC_LAST

GetExpiredTimer=0,timer
_GetExpiredTimer_Defaults=
_GetExpiredTimer_Category=TC_EVENTRESPONSE


// returns timerdialog
GetLastCreatedTimerDialogBJ=0,timerdialog
_GetLastCreatedTimerDialogBJ_Defaults=
_GetLastCreatedTimerDialogBJ_Category=TC_LAST


// returns gamecache
GetLastCreatedGameCacheBJ=0,gamecache
_GetLastCreatedGameCacheBJ_Defaults=
_GetLastCreatedGameCacheBJ_Category=TC_LAST



//***************************************************************************
[DefaultTriggerCategories]
// Defines categories to be automatically added to new maps
NumCategories=1

Category01=WESTRING_INITIALIZATION



//***************************************************************************
[DefaultTriggers]
// Defines triggers to be automatically added to new maps
NumTriggers=1

// Melee Initialization
Trigger01Name=WESTRING_MELEEINITIALIZATION
Trigger01Comment=WESTRING_MELEEINITIALIZATION_COMMENT
Trigger01Category=1
Trigger01Events=1
Trigger01Event01=MapInitializationEvent
Trigger01Conditions=0
Trigger01Actions=8
Trigger01Action01=MeleeStartingVisibility
Trigger01Action02=MeleeStartingHeroLimit
Trigger01Action03=MeleeGrantHeroItems
Trigger01Action04=MeleeStartingResources
Trigger01Action05=MeleeClearExcessUnits
Trigger01Action06=MeleeStartingUnits
Trigger01Action07=MeleeStartingAI
Trigger01Action08=MeleeInitVictoryDefeat
